Esempio n. 1
0
 private void LoadNextPhase()
 {
     if (!isFinalPhase)
     {
         RPCWrapper.RPC("LoadNextPhase", RPCMode.Others, (int)nextPhaseType, nextLevel, nextPhase);               // Tell the clients to load the next phase.
         PhaseLoader.Load(nextLevel, nextPhase, nextPhaseType);
     }
     else
     {
         RPCWrapper.RPC("LoadScoreScene", RPCMode.Others);              // Tell the clients to load scores scene.
         Application.LoadLevel("Windows - ScoreScene");
     }
 }
 public void OnButtonPressedAndroid()
 {
     RPCWrapper.RPC("OnButtonPressedWin", RPCMode.Server);
     PhaseLoader.Load();
 }
Esempio n. 3
0
 public void OnButtonPressedWin()
 {
     PhaseLoader.Load();
 }
Esempio n. 4
0
 private void LoadNextPhase(int nextPhaseType, int nextLevel, int nextPhase)
 {
     PhaseLoader.Load(nextLevel, nextPhase, (PhaseLoader.Type)nextPhaseType);
 }