Beispiel #1
0
    private void UpdateTarget()
    {
        target = transform.position + Infra.RandomVectorInRange(-5f, 5f, -4.6f, 4.6f);

        Invoke("UpdateTarget", UnityEngine.Random.Range(0.5f, 1.2f));
    }