Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     onboardingController = GetComponentInParent <BlimpOnboarding>();
     blimpController      = GetComponentInParent <BlimpController>();
     characterSwitch      = FindObjectOfType <CharacterSwitch>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     controller = GetComponent <BlimpController>();
     health     = GetComponent <CustomHealth>();
     CustomHealth.OnCharacterDefeated += OnCharacterDefeated;
 }