Esempio n. 1
0
    private void Start()
    {
        player = GameObject.FindGameObjectWithTag("Player").transform;

        StartCoroutine(motor.MoveToPlayer(navMeshAgent, player, navUpdateTime));
    }