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(); }
public void OnButtonPressedWin() { PhaseLoader.Load(); }
private void LoadNextPhase(int nextPhaseType, int nextLevel, int nextPhase) { PhaseLoader.Load(nextLevel, nextPhase, (PhaseLoader.Type)nextPhaseType); }