public void controllerInit()
 {
     mover = GetComponent <GroundMover>();
     findNearestPatrolPoint();
     home = transform.position;
     pickRoamPoint();
     player = GameObject.FindWithTag("Player");
 }
示例#2
0
 void Start()
 {
     mover       = GetComponent <GroundMover>();
     audioSource = GetComponent <AudioSource>();
     anim        = transform.Find("CloudBoi").GetComponent <CloudBoiAnim>();
 }