// Start is called before the first frame update void Start() { _startingTimer = _playerShootcooldown; _backUpTimer = _startingTimer; _movement = GetComponent <PlayerMovementBehavior>(); //_controls.Player.Shoot.performed += context => _bulletSpawner.Shoot(); }
void Start() { myPlayer.enabled = true; m_animator = GetComponent <Animator> (); m_playerBehaviour = new PlayerMovementBehavior(m_animator, transform); g_CurrentHealth = m_health; g_currStamina = g_startingStamina; g_lowStaminaTxt.enabled = false; flashingHurtImage.enabled = false; }
// Start is called before the first frame update void Start() { _playerMovement = GetComponent <PlayerMovementBehavior>(); }