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

            return(_resourcesManager);
        }