Beispiel #1
0
 public void addAction(GameObject gameObject, SSAction action, SSActionCallback ICallBack)
 {
     action.gameObject = gameObject;
     action.transform  = gameObject.transform;
     action.CallBack   = ICallBack;
     waitingToAdd.Add(action);
     action.Start();
 }
Beispiel #2
0
 public void addAction(GameObject gameobject, SSAction action, SSActionCallback controller)
 {
     action.gameobject = gameobject;
     action.transform  = gameobject.transform;
     action.callBack   = controller;
     waitingAdd.Add(action);
     action.Start();
 }