Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     des    = false;
     player = GameObject.FindGameObjectWithTag("Player");
     bom    = player.GetComponent <BomScript>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player");
     b      = player.GetComponent <BomScript>();
 }