public void DoDeactiveFunc() { if (mDeactiveFunc == null) { JCS_Debug.LogError("U have not set the DEACTIVE function ptr..."); return; } // do the action. mDeactiveFunc.Invoke(); }
/// <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(); }