unityEvent | 要修改的事件。 |
index | 要删除的索引(如果指定)。 |
call | 要删除的函数(如果指定)。 |
从事件中删除给定函数。
You can specify either the index of the listener function to remove, or the delegate type of the listener function to remove. If you specify the delegate type, this method removes all occurrences of that listener function from the event. If you specify the the index, this method only removes the listener function at the index specified.