Beispiel #1
0
 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());
 }
Beispiel #2
0
 public virtual void Start()
 {
     m_movementController = GetComponent <Entity_MovementController>();
     m_turnAgent          = GetComponent <TurnBasedAgent>();
 }
Beispiel #3
0
 // Start is called before the first frame update
 void Start()
 {
     eMC = GetComponent <Entity_MovementController>();
     lr  = GetComponent <LineRenderer>();
     m_spookyTimeManager = SpookyTimeManager.Instance;
 }