Example #1
0
 void Awake()
 {
     isStill               = true;
     goingToBlow           = false;
     blowing               = false;
     animator              = GetComponent <Animator>();
     passTheBombController = GameObject.FindGameObjectWithTag("GameController").GetComponent <PassTheBomb>();
 }
Example #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);
 }