private void Start() { m_navAgent = GetComponent <GridNavigation_Agent>(); m_movementController = GetComponent <Entity_MovementController>(); m_aiManager = AI_Manager.Instance; m_navAgent.m_navGrid = m_aiManager.m_navGrid; m_spookyTimeManager = SpookyTimeManager.Instance; StartCoroutine(PlaySpawnSound()); }
public virtual void Start() { m_movementController = GetComponent <Entity_MovementController>(); m_turnAgent = GetComponent <TurnBasedAgent>(); }
// Start is called before the first frame update void Start() { eMC = GetComponent <Entity_MovementController>(); lr = GetComponent <LineRenderer>(); m_spookyTimeManager = SpookyTimeManager.Instance; }