Beispiel #1
0
    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");
    }
Beispiel #2
0
 public override void OnStartServer()
 {
     Debug.Log("****: OnStartServer");
     MultiPlayerStat.enableMultiMode();
 }