- LocalizationManager: 新增翻译表(SetFormatted/SetDuration/LocalizeOperateMsg) - LoginPanel: InputField placeholder本地化、字体颜色保持 - HistoryPanel: 用时数据本地化、placeholder本地化 - RecordDetailPanel: 操作详情消息本地化(LanguageChanged重建) - AppraiseWindowBase: 评价等级本地化、操作消息重建 - EditorAppraiser: 所有评估消息改用InjectOperateMsgLocalized - StudentOperateRecorder: 新增InjectOperateMsgLocalized方法 - LocalizationLanguageTestBar: 单例模式、ScreenSpaceOverlay筛选 - 字体切换时保留颜色和verticalOverflow
56 lines
1.1 KiB
C#
56 lines
1.1 KiB
C#
using UnityEngine;
|
|
|
|
namespace GOEventSystem
|
|
{
|
|
public class GOPointerEventData
|
|
{
|
|
/// <summary>
|
|
/// 触发事件的物体
|
|
/// </summary>
|
|
public GameObject pointerPress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 触发的按键
|
|
/// </summary>
|
|
public GOInputButton gOInputButton { get; set; }
|
|
}
|
|
public interface IGOEventHandle
|
|
{
|
|
|
|
|
|
}
|
|
|
|
public interface IPointerClickHandler : IGOEventHandle
|
|
{
|
|
void OnPointerClick(GOPointerEventData eventData);
|
|
}
|
|
|
|
|
|
public interface IPointerDoubleClickHandler : IGOEventHandle
|
|
{
|
|
void OnPointerDoubleClick(GOPointerEventData eventData);
|
|
}
|
|
|
|
public interface IPointerHoverHandler : IGOEventHandle
|
|
{
|
|
void OnHoverEnter(GOPointerEventData eventData);
|
|
|
|
void OnHoverExit(GOPointerEventData eventData);
|
|
}
|
|
|
|
public enum GOInputButton
|
|
{
|
|
Left = 0,
|
|
Right = 1,
|
|
Middle = 2
|
|
}
|
|
|
|
|
|
public delegate void GOButtonAction();
|
|
|
|
public delegate void GOButtonParamAction(GOPointerEventData data);
|
|
|
|
}
|
|
|
|
|