示例#1
0
 protected override void OnInitialize()
 {
     seek   = RequireBehaviour <Seek>();
     arrive = loop ? null : RequireBehaviour <Arrive>();
 }
示例#2
0
 protected override void OnInitialize()
 {
     neighbours = GetComponent <NeighbourAwareness>();
     seek       = RequireBehaviour <Seek>();
 }
示例#3
0
 protected override void OnInitialize()
 {
     seek = RequireBehaviour <Seek>();
 }
示例#4
0
 protected override void OnInitialize()
 {
     wanderTarget = (Vector2)transform.up * wanderRadius;
     seek         = RequireBehaviour <Seek>();
 }