public void AddRender(TransitionFX trans) { if (!mRenderTransList.Contains(trans)) { mRenderTransList.Add(trans); } enabled = true; }
public void RemoveRender(TransitionFX trans) { mRenderTransList.Remove(trans); if (mRenderTransList.Count == 0) { enabled = false; } }