예제 #1
0
파일: Scare.cs 프로젝트: hakr1337/Ghost
    public void scareLocation(NavAgent person)
    {
        //target.position = coords;
        //target.position = new Vector3(8.18F, 11.35F, 0.59F);
        if (true) {

            person.setTarget(person.getCenter());
            person.setView(this.GetComponent<Transform>().position);
        }
    }