Files
Studio/Assets/Scripts/Studio/Command/GizmoCommand/ResetGizmoCommand.cs
2025-06-25 17:30:23 +09:00

29 lines
691 B
C#

using Studio.AssetTool;
using Studio.Manage;
using Studio.RuntimeGizmo;
using Studio.Util;
namespace Studio.Command
{
public class ResetGizmoCommand : IIrreversibleCommand
{
public ResetGizmoCommand()
{
}
public string id { get => "Reset Gizmo"; set => throw new System.NotImplementedException(); }
public bool CanExecute()
{
throw new System.NotImplementedException();
}
public void Execute()
{
var renderObjectHandler = ManagerHub.instance.Get<RenderObjectHandler>();
renderObjectHandler.rtgController.SetWorkGizmoId(RTGController.GizmoId.None);
}
}
}