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

Clear() public method

public Clear ( ) : void
return void
        public void Clear()
        {
            this.m_RuntimeCalls.Clear();
            this.m_NeedsUpdate = true;
        }

Usage Example

Example #1
0
 public void RemoveAllListeners()
 {
     m_Calls.Clear();
 }