Пример #1
0
        public void DoDeactiveFunc()
        {
            if (mDeactiveFunc == null)
            {
                JCS_Debug.LogError("U have not set the DEACTIVE function ptr...");
                return;
            }

            // do the action.
            mDeactiveFunc.Invoke();
        }
Пример #2
0
        /// <summary>
        /// Invoke active callback.
        /// </summary>
        public void DoActiveFunc()
        {
            if (acitveFunc == null)
            {
                JCS_Debug.LogError(
                    "You have not set the ACTIVE function ptr...");
                return;
            }

            // do the action.
            acitveFunc.Invoke();
        }