mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
15 lines
262 B
C#
15 lines
262 B
C#
#if IL2CPP
|
|
using System;
|
|
using UnityEngine.Events;
|
|
using UnityEngine.UI;
|
|
|
|
namespace EHR;
|
|
|
|
public static class UnityActionDelegateFix
|
|
{
|
|
public static void AddListener(this UnityEvent e, Action listener)
|
|
{
|
|
e.AddListener(listener);
|
|
}
|
|
}
|
|
#endif |