Ejemplo n.º 1
0
 // Set references for private variables when the game starts
 void Start()
 {
     gameHandler    = GetComponent <GameHandler>();
     championRoster = GetComponent <ChampionRoster>();
     lobbyNetwork   = GetComponent <LobbyNetwork>();
     photonView     = GetComponent <PhotonView>();
     lockinButton.onClick.AddListener(LockChampion);
     SetupChampions();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates an instance of this script once the game begins.
 /// </summary>
 void Start()
 {
     Instance = this;
 }