引入 UISerializationRoot 和 Item
- 完成 MenuForm 和 SelectRoleForm 的迁移
This commit is contained in:
@@ -79,5 +79,25 @@ namespace SepCore.UI
|
||||
{
|
||||
_onPointerExitAction.Invoke();
|
||||
}
|
||||
|
||||
public void RegisterPointerEnterAction(UnityAction action)
|
||||
{
|
||||
_onPointerEnterAction.AddListener(action);
|
||||
}
|
||||
|
||||
public void RegisterPointerExitAction(UnityAction action)
|
||||
{
|
||||
_onPointerExitAction.AddListener(action);
|
||||
}
|
||||
|
||||
public void UnregisterPointerEnterAction(UnityAction action)
|
||||
{
|
||||
_onPointerEnterAction.RemoveListener(action);
|
||||
}
|
||||
|
||||
public void UnregisterPointerExitAction(UnityAction action)
|
||||
{
|
||||
_onPointerExitAction.RemoveListener(action);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user