Files
XRLib/Assets/Scripts/UVC/UI/Commands/ICommand.cs
2025-06-16 19:30:01 +09:00

15 lines
301 B
C#

namespace UVC.UI.Commands
{
public interface ICommand
{
void Execute(object parameter = null);
}
public interface ICommand<T> : ICommand
{
void Execute(T parameter);
void Execute() => Execute(default(T)); // 기본 Execute 구현 제공 가능
}
}