// Start is called before the first frame update void Start() { m_maxHealth = m_baseHealth; m_currentHealth = m_baseHealth; m_scribbler = GetComponent <Scribbler>(); m_audio = GetComponent <AudioCharacterPlayer>(); }
void Start() { m_audio = GetComponent <AudioCharacterPlayer>(); m_controls = GetComponent <PlayerControls>(); m_movement = GetComponent <PlayerMovement>(); m_shoot = GetComponent <ShootingHelper>(); m_endGame = GetComponent <PlayerEndGame>(); m_health = GetComponent <PlayerHealth>(); m_currentAttackSpeed = m_baseAttackSpeed; m_currentAttackDamage = m_baseAttackDamage; m_currentProjectileSpeed = m_baseProjectileSpeed; m_currentInaccuracy = m_baseInaccuracy; }