Пример #1
0
 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>();
 }