21 lines
521 B
C#
21 lines
521 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|