void Start() { flashRed = GetComponent <FlashUsingMaterial>(); animator = GetComponent <Animator>(); audioManager = GetComponent <SlugAudioManager>(); brain = GetComponent <MummyBrain>(); }
void Awake() { anim = GetComponent <Animator>(); timeUtils = GetComponent <TimeUtils>(); flashRed = GetComponent <FlashUsingMaterial>(); audioManager = GetComponentInChildren <SlugAudioManager>(); }
void Awake() { gunAnimController = topBodyAnimator.runtimeAnimatorController; MeleeAttack = GetComponentInChildren <AttackKnife>(); FireArmAttacks = GetComponentsInChildren <IAttack>(true); grenadeAttack = GetComponent <MarcoAttackGrenade>(); movementManager = GetComponentInParent <MovementManager>(); flashBlue = GetComponent <FlashUsingMaterial>(); currentFireArmAttack = FireArmAttacks[1]; }
void Awake() { animator = GetComponent <Animator>(); timeUtils = GetComponent <TimeUtils>(); flashRed = GetComponent <FlashUsingMaterial>(); colliderWhenIntact = GetComponent <Collider2D>(); colliderWhenDestroyed = GetComponent <EdgeCollider2D>(); collectible = GetComponentInChildren <CollectibleDef>(true); healthManager = GetComponent <HealthManager>(); berserkerPool = GetComponentInChildren <ObjectPoolScript>(); berserkersOnTheRoof = new Berserker[3]; }
void Awake() { inputManager = GetComponent <InputManager>(); animManager = GetComponent <AnimationManager>(); blink = GetComponent <Blink>(); physic = GetComponent <SlugPhysics>(); movementManager = GetComponent <MovementManager>(); health = GetComponent <HealthManager>(); timeUtils = GetComponent <TimeUtils>(); spriteRenderers = GetComponentsInChildren <SpriteRenderer>(); flashBright = GetComponent <FlashUsingMaterial>(); playerIndicator = GetComponentInChildren <FlipPlayerIndicator>(); playerIndicator.gameObject.SetActive(false); }
void Awake() { flash = GetComponent <FlashUsingMaterial>(); }
void Awake() { flash = GetComponent <FlashUsingMaterial>(); animator = GetComponent <Animator>(); }