Esempio n. 1
0
 private void Start()
 {
     rm.Init();
     PhotonNetwork.autoCleanUpPlayerObjects = false;
     PhotonNetwork.autoJoinLobby            = false;
     PhotonNetwork.automaticallySyncScene   = false;
     Init();
 }
Esempio n. 2
0
        public static ResourcesManager GetResourcesManager()
        {
            if (_resourcesManager == null)
            {
                _resourcesManager = Resources.Load("ResourcesManager") as ResourcesManager;
                _resourcesManager.Init();
            }

            return(_resourcesManager);
        }