Files
XRLib/Assets/Scripts/UVC/UI/Commands/ICommand.cs
2025-07-15 15:25:17 +09:00

15 lines
299 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)); // 기본 Start 구현 제공 가능
}
}