示例#1
0
        void Start()
        {
            networkManager_Client = GameObject.FindGameObjectWithTag("itorinNetwork").GetComponent <NetworkManager_Client>();

            if (networkManager_Client == null)
            {
                Debug.Log("asas");
            }

            OnNextScene();

            MakingPlayer();
        }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     client = NetworkManagerBase.LocalInst as NetworkManager_Client;
     A.SetActive(false);
     client.OnNewRepObjectAdded += NewObjCreated;
 }