Exemplo n.º 1
0
 private void Start()
 {
     if (!neanderthal || !alien)
     {
         alien       = GetComponentInParent <Alien01>();
         neanderthal = GetComponentInParent <Neanderthal>();
     }
 }
Exemplo n.º 2
0
 void Start()
 {
     Alien01Receiver       = GetComponentInParent <Alien01>();
     boss01Receiver        = GetComponentInParent <Boss01>();
     boss02Receiver        = GetComponentInParent <Boss02>();
     boss03Receiver        = GetComponentInParent <YetyBoss>();
     Neanderthal01Receiver = GetComponentInParent <Neanderthal>();
     thisTrigger           = GetComponent <Collider>();
 }