public void OnStartClient () { initialiseShipSpawnStatus(); setSpawnLocations(); // TODO: Why is this done here? oem = new OptionalEventModule(); oem.AllowNoEventListeners = false; }
// -- Methods -- //public void Awake () //{ //} public void Start() { FinishedLoading = false; //Debug.Log("player controller spawn handler registered"); // Register player object spawn handler ClientScene.RegisterPrefab(player_prefab, playerControllerSpawnHandler, playerControllerDespawnHandler); oem = new OptionalEventModule(); oem.AllowNoEventListeners = false; FinishedLoading = true; }
public void OnStartClient() { oem = new OptionalEventModule(); oem.AllowNoEventListeners = false; physics_body = GetComponent <Rigidbody>(); }