Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 public override void Activate()
 {
     status = Status.Active;
     steering.StopFlocking();
     steering.StartArrive(target);
 }