mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-04 12:32:23 +08:00
Update Il2CppProvider.cs
This commit is contained in:
@ -241,12 +241,12 @@ namespace UnityExplorer.Core.Runtime.Il2Cpp
|
|||||||
|
|
||||||
public static class Il2CppExtensions
|
public static class Il2CppExtensions
|
||||||
{
|
{
|
||||||
public static void AddListenerEx(this UnityEvent action, Action listener)
|
public static void AddListener(this UnityEvent action, Action listener)
|
||||||
{
|
{
|
||||||
action.AddListener(listener);
|
action.AddListener(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void AddListenerEx<T>(this UnityEvent<T> action, Action<T> listener)
|
public static void AddListener<T>(this UnityEvent<T> action, Action<T> listener)
|
||||||
{
|
{
|
||||||
action.AddListener(listener);
|
action.AddListener(listener);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user