private void UpdateTarget() { target = transform.position + Infra.RandomVectorInRange(-5f, 5f, -4.6f, 4.6f); Invoke("UpdateTarget", UnityEngine.Random.Range(0.5f, 1.2f)); }
private void UpdateTarget() { target = transform.position + Infra.RandomVectorInRange(-5f, 5f, -4.6f, 4.6f); Invoke("UpdateTarget", UnityEngine.Random.Range(0.5f, 1.2f)); }