// Start is called before the first frame update void Start() { powerupsScript = transform.parent.GetComponent <PlayerPowerupEffects>(); powerupImplementations = transform.parent.GetComponent <PowerupImplementations>(); animator = transform.GetComponent <Animator>(); audioSource = GetComponent <AudioSource>(); }
// Start is called before the first frame update void Start() { eatableShark = GetComponentInChildren <EatableShark>(); powerupVisualEffects = GetComponent <PlayerPowerupEffects>(); staminaBar = GetComponentInChildren <StaminaBar>(); }