FM/Assets/Scripts/Base/Keyboard/OpenKeyboardEventArgs.cs

21 lines
521 B
C#
Raw Normal View History

using System;
using TMPro;
using ZGame;
namespace HK.Keyboard
{
public class OpenKeyboardEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(OpenKeyboardEventArgs).GetHashCode();
public override int Id => EventId;
public TMP_InputField inputField;
public Action OKAction;
public OpenKeyboardEventArgs(TMP_InputField inputField, Action okAction)
{
this.inputField = inputField;
OKAction = okAction;
}
}
}