void Start() { myPhotonView = GetComponent <PhotonView>(); rnd = new System.Random(int.Parse(PhotonNetwork.CurrentRoom.Name)); LoadCharacter(character, PhotonNetwork.LocalPlayer); ActorID = character.ActorID; ship.Load(); ship.Locations[character.LocationID].locationButton.Active(true); int i = 0; foreach (Player player in PhotonNetwork.PlayerListOthers) { LoadCharacter(characters[i], player); i++; } timeKeeper.AddMainTimer("start", 3f, StartAttack); timeKeeper.AddMainTimer("game", 300, EndGame); timeKeeper.AddMainTimer("hit", 0, Hit); timeKeeper.AddMainTimer("end", 5f, End); timeKeeper.AddTimer("event", 10f, SendEventChoice); timeKeeper.AddTimer("oxygen", 30, character.Suffocate); timeKeeper.AddTimer("suffocate", 5f, character.Suffocate); timeKeeper.AddTimer("notification", 0); timeKeeper.AddTimer("action", 0); timeKeeper.Stop("game"); timeKeeper.Stop("end"); timeKeeper.Stop("hit"); timeKeeper.Stop("oxygen"); timeKeeper.Stop("suffocate"); timeKeeper.Stop("event"); }