void Awake()
 {
     isStill               = true;
     goingToBlow           = false;
     blowing               = false;
     animator              = GetComponent <Animator>();
     passTheBombController = GameObject.FindGameObjectWithTag("GameController").GetComponent <PassTheBomb>();
 }
Exemple #2
0
 void Start()
 {
     bombController = GameObject.FindGameObjectWithTag("GameController").GetComponent <PassTheBomb>();
     UI             = bombController.UI;
 }
 void Start()
 {
     inputDevice = GetComponent <PlayerController>().Device;
     controller  = GameObject.FindGameObjectWithTag("GameController").GetComponent <PassTheBomb>();
     playerUI.SetUI(GetComponent <PlayerController>().playername, GetComponent <PlayerController>().color);
 }