Exemplo n.º 1
0
 private void Start()
 {
     if (enabled == false)
     {
         return;
     }
     isTraining      = true;
     visualSingleton = visualTree;
 }
Exemplo n.º 2
0
 private static void initCurrentTree(TournamentInfoMsg infoMsg)
 {
     currentTree = GameObject.FindGameObjectWithTag("GameController").GetComponent <VisualTournamentTree>();
     currentTree.init(infoMsg.players, ServerUtils.tournamentInfoToGameSpecs(infoMsg), infoMsg.doubleElimination);
     isInTournament = true;
 }