示例#1
0
 public override void Activate()
 {
     status = Status.Active;
     if (refiningCell.Inkeeper != null)
     {
         failedOnActivate = true;
     }
     else
     {
         refiningCell.Inkeeper = agent;
         agent.GetComponent <Controllable>().InkeptCell = refiningCell;
         UIController.Instance.SetBeeLoadText(agent);
         behaviour.StopFlocking();
     }
 }
示例#2
0
文件: Move.cs 项目: silverweed/colony
 public override void Activate()
 {
     status = Status.Active;
     steering.StopFlocking();
     steering.StartArrive(target);
 }