void Awake() { S = this; //Find the TurnLight by name turnLight = GameObject.Find("TurnLight"); }
void Awake() { S = this; turnLight = GameObject.Find("TurnLight"); GTGameOver.text = ""; GTRoundResult.text = ""; }
void Awake(){ S = this; turnLight = GameObject.Find ("TurnLight"); GTGameOver = GameObject.Find ("GTGameOver"); GTRoundResult = GameObject.Find ("GTRoundResult"); GTGameOver.SetActive (false); GTRoundResult.SetActive (false); }//end of Awake()
void Awake() { S = this; // Find the TurnLight by name turnLight = GameObject.Find("TurnLight"); GTGameOver.SetActive(false); GTRoundResult.SetActive(false); }
//public Player callbackPlayer = null; void Awake() { // callbackPlayer = null; // Just to be sure. S = this; // Find the TurnLight by name turnLight = GameObject.Find("TurnLight"); // GTGameOver = GameObject.Find("GTGameOver"); // GTRoundResult = GameObject.Find("GTRoundResult"); // GTGameOver.SetActive(false); // GTRoundResult.SetActive(false); }
void Awake() { S = this; // Find the TurnLight by name turnLight = GameObject.Find("TurnLight"); GTGameOver = GameObject.Find("GTGameOver"); GTRoundResult = GameObject.Find("GTRoundResult"); GTGameOver.SetActive(false); GTRoundResult.SetActive(false); }
private void Awake() { S = this; // Находим turnLight по имени turnLight = GameObject.Find("TurnLight"); GTGameOver = GameObject.Find("GTGameOver"); GTGameOver.SetActive(false); GTRoundResult = GameObject.Find("GTRoundResult"); GTRoundResult.SetActive(false); }
// Awake is called when the script instance is being loaded. void Awake() { PrintDebugMsg("Loaded."); S = this; turnLight = GameObject.Find("TurnLight"); gtGameOver = GameObject.Find("GTGameOver"); gtRoundResult = GameObject.Find("GTRoundResult"); gtGameOver.SetActive(false); gtRoundResult.SetActive(false); }
void Awake() { S = this; // Find the TurnLight by name turnLight = GameObject.Find("TurnLight"); GTGameOver = GameObject.Find("GTGameOver"); GTRoundResult = GameObject.Find("GTRoundResult"); GTGameOver.SetActive(false); GTRoundResult.SetActive(false); EndCanvas.enabled = false; RulesCanvas.enabled = false; Debug.Log(gameMode); }
void Awake() { S = this; }
void Awake() { S = this; // Set up a Singleton for Bartok // Find the TurnLight by name turnLight = GameObject.Find ("TurnLight"); }
void Awake() { S = this; phase = TurnPhase.idle; }
private void Awake() { S = this; }
void Start() { manager = this; }