Example #1
0
 protected override void OnInitialize()
 {
     wanderTarget = new Vector2(
         Random.Range(-1.0f, 1.0f),
         Random.Range(-1.0f, 1.0f));
     seek = RequireBehaviour <Seek>();
 }
Example #2
0
 protected override void OnInitialize()
 {
     seek = RequireBehaviour <Seek>();
 }