Files
MMORPG/Assets/Scripts/Utils/Extension.cs
2026-01-25 23:45:33 +09:00

13 lines
297 B
C#

using System;
using UnityEngine;
using UnityEngine.EventSystems;
public static class Extension
{
public static void AddUIEvent(this GameObject go, Action<PointerEventData> action,
Define.UIEvent type = Define.UIEvent.Click)
{
UI_Base.AddUIEvent(go, action, type);
}
}