EventDelegate.Clear C# (CSharp) Method

Clear() public method

Clear the event delegate.
public Clear ( ) : void
return void
	public void Clear ()
	{
		mTarget = null;
		mMethodName = null;
		mRawDelegate = false;
		mCachedCallback = null;
	}

Usage Example

Beispiel #1
0
    static int Clear(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        EventDelegate obj = (EventDelegate)LuaScriptMgr.GetNetObjectSelf(L, 1, "EventDelegate");

        obj.Clear();
        return(0);
    }
All Usage Examples Of EventDelegate::Clear