Exemplo n.º 1
0
 public void runAction(GameObject gameObject, SSAction action, ISSActionCallback callback)
 {
     action.gameObject = gameObject;
     action.transform  = gameObject.transform;
     action.callback   = callback;
     waitingAddAction.Add(action);
     action.Start();
 }
Exemplo n.º 2
0
 public void runAction(GameObject Obj, SSAction action, ISSActionCallback callback)
 {
     action.gameObject = Obj;
     action.transform  = Obj.transform;
     action.callback   = callback;
     watingAddAction.Add(action);
     action.Start();
 }