22 lines
664 B
C#
22 lines
664 B
C#
#nullable enable
|
|
using UVC.Factory.Cameras;
|
|
using UVC.UI.Commands;
|
|
using UVC.UI.Modal;
|
|
|
|
namespace UVC.Factory.Modal.Settings
|
|
{
|
|
public class DisplayDataOrderCommand : ICommand
|
|
{
|
|
public async void Execute(object? parameter = null)
|
|
{
|
|
FactoryCameraController.Instance.Enable = false; // 카메라 컨트롤러 비활성화
|
|
var modalContent = new ModalContent("Prefabs/UI/Modal/UIConfigInfoModal")
|
|
{
|
|
Title = "사용자 표시 정보"
|
|
};
|
|
await UVC.UI.Modal.Modal.Open<object>(modalContent);
|
|
FactoryCameraController.Instance.Enable = true;
|
|
}
|
|
}
|
|
}
|