Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Start () {
- if (AC.GlobalVariables.GetBooleanValue(252,true))
- {
- AC.KickStarter.TurnOffAC ();
- PhotonNetwork.ConnectUsingSettings ("v1");
- }
- else
- {
- if (AC.GlobalVariables.GetBooleanValue(156,true))
- {
- AC.KickStarter.ResetPlayer(SinglePlayer2, 133312, true, spawnPoint.rotation, true, true, true);
- }
- else
- {
- AC.KickStarter.ResetPlayer(SinglePlayer1, 133312, true, spawnPoint.rotation, true, true, true);
- AC.KickStarter.stateHandler.GatherObjects ();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement