Example #1
0
 void Start()
 {
     ayuCharacter    = GetComponent <AyuCharacter>();
     goalGameObject  = new GameObject();
     initialPosition = transform.position;
     GoalChange();
     goalChangeTime = Random.Range(0f, 5f);
     goalRelPos     = goalGameObject.transform.position - transform.position;
 }
Example #2
0
 void Start()
 {
     ayuCharacter = GetComponent <AyuCharacter>();
 }