BITKit/Packages/Runtime~/Unity/Scripts/UX/Command/UXEntryPanelCommand.cs

18 lines
364 B
C#
Raw Normal View History

2023-08-23 01:59:26 +08:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BITKit.UX.Commands
{
[Serializable]
public class EntryPanel : IAction
{
[SerializeField] private MonoBehaviour monoBehaviour;
public void Execute()
{
UXService.Entry(monoBehaviour as IUXPanel);
}
}
}