void Awake() { m_gunTurretControlScript = GetComponent <GunTurretControl>(); var playerObject = GameObject.FindGameObjectWithTag(Tags.Player); if (playerObject != null) { m_player = playerObject.transform; } m_waitTime = new WaitForSeconds(m_decisionRate); }
void Awake() { m_turretControlScript = GetComponent <GunTurretControl>(); }