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