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