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