UnityEngine.Events.InvokableCallList.AddListener C# (CSharp) Method

AddListener() public method

public AddListener ( BaseInvokableCall call ) : void
call BaseInvokableCall
return void
        public void AddListener(BaseInvokableCall call)
        {
            this.m_RuntimeCalls.Add(call);
            this.m_NeedsUpdate = true;
        }

Usage Example

Example #1
0
 protected void AddListener(object targetObj, MethodInfo method)
 {
     m_Calls.AddListener(GetDelegate(targetObj, method));
 }