public override void OnStartClient(NetworkClient client) { Debug.Log("****CLIENT: OnStartClient"); LevelLoader.instance.stopFakeLoader(); MultiPlayerStat.enableMultiMode(); if (!isSpawnedPrefab) { isSpawnedPrefab = true; sharedGameInfoObjectInstance = GameObject.Instantiate(gameNetPrefab); } Debug.Log("Client has started"); }
public override void OnStartServer() { Debug.Log("****: OnStartServer"); MultiPlayerStat.enableMultiMode(); }