Exemplo n.º 1
0
 protected override void onStart()
 {
     base.onStart();
     waitOver = false;
     openNext = false;
     ActionUtils.RunAction(GameObjectAgent.getAgentGameObject(gameObject, gameObject), target);
 }
Exemplo n.º 2
0
 public void doTrigger(GameObject obj)
 {
     _lastTriggerobj = obj;
     ActionUtils.RunAction(gameObject, ActionName);
     if (disableOnTrggier)
     {
         enabled = false;
     }
 }