public void StartAction(AnimeAction action) { if (action == null) { return; } action.SetManager(this); action.Start(); mActionList.Add(action); }
protected void PopPendingAction() { if (mPendingList.Count == 0) { return; // Prevent out-of-bound problem! } mActiveAction = mPendingList[0]; mPendingList.RemoveAt(0); if (mActiveAction != null) { mActiveAction.Start(); } }
protected void AddSubAction(AnimeAction action) { action.SetManager(mManager); action.Start(); mSubActionList.Add(action); }