Update Il2CppProvider.cs

This commit is contained in:
Sinai 2021-04-15 20:21:14 +10:00
parent d1d7572945
commit a3fcac1acb

View File

@ -241,12 +241,12 @@ namespace UnityExplorer.Core.Runtime.Il2Cpp
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);
}
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);
}