void Start() { skelet = GetComponent <NavMeshAgent>(); scorz = GameObject.FindGameObjectWithTag("cotrl"); scorzede = scorz.GetComponent <geymCont>(); }
void Start() { agerayis = GetComponent <NavMeshAgent>(); puan = GameObject.FindGameObjectWithTag("cotiraray"); controlki = puan.GetComponent <geymCont>(); }