void Start() { player = GameObject.FindGameObjectWithTag(Tags.player); agent = player.GetComponent <UnityEngine.AI.NavMeshAgent>(); gba = player.GetComponent <BasicGBA>(); sbgba = player.GetComponent <StateBasedGBA>(); mbgba = player.GetComponent <MemoryBasedGBA>(); ebgba = player.GetComponent <ExplorationBasedGBA>(); uba = player.GetComponent <UBA>(); }
void Start() { player = GameObject.FindGameObjectWithTag (Tags.player); agent = player.GetComponent<UnityEngine.AI.NavMeshAgent>(); gba = player.GetComponent<BasicGBA>(); sbgba = player.GetComponent<StateBasedGBA>(); mbgba = player.GetComponent<MemoryBasedGBA>(); ebgba = player.GetComponent<ExplorationBasedGBA>(); uba = player.GetComponent<UBA>(); }