#Collect server args from an entity component.
1 messages · Page 1 of 1 (latest)
You can use System.Environment.GetCommandLineArgs()
where tho
on the authoring script?
or do i need a dedicated system?
You can use that anytime after the server has started. It wouldn't be during baking though. It can be on a monobehavior in the scene if you want. Really depends on what you are doing with it
want to set a component value using an arg
in the ClientServerBoostrap would probably be the earliest you could grab them