예제 #1
0
        public void AddRender(TransitionFX trans)
        {
            if (!mRenderTransList.Contains(trans))
            {
                mRenderTransList.Add(trans);
            }

            enabled = true;
        }
예제 #2
0
        public void RemoveRender(TransitionFX trans)
        {
            mRenderTransList.Remove(trans);

            if (mRenderTransList.Count == 0)
            {
                enabled = false;
            }
        }