62 lines
1.3 KiB
C#
62 lines
1.3 KiB
C#
#nullable enable
|
|
using Cysharp.Threading.Tasks;
|
|
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UIElements;
|
|
using UVC.UIToolkit;
|
|
|
|
namespace Factory.UIToolkit.Modal
|
|
{
|
|
/// <summary>
|
|
/// 설정 모달 - Input 탭 콘텐츠
|
|
/// </summary>
|
|
[UxmlElement]
|
|
public partial class UTKFactorySettingModalContentInput : VisualElement, IDisposable, IUTKTabContent
|
|
{
|
|
#region Constants
|
|
private const string UXML_PATH = "Factory/UIToolkit/Modal/UTKFactorySettingModalContentInputUXML";
|
|
#endregion
|
|
|
|
#region Fields
|
|
private bool _disposed;
|
|
#endregion
|
|
|
|
#region Properties
|
|
#endregion
|
|
|
|
#region Constructor
|
|
public UTKFactorySettingModalContentInput()
|
|
{
|
|
var asset = Resources.Load<VisualTreeAsset>(UXML_PATH);
|
|
if (asset != null)
|
|
{
|
|
var root = asset.Instantiate();
|
|
root.style.flexGrow = 1;
|
|
|
|
Add(root);
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region Public Methods
|
|
public void Show(object? data)
|
|
{
|
|
|
|
}
|
|
|
|
public async UniTask Hide()
|
|
{
|
|
|
|
}
|
|
#endregion
|
|
|
|
#region IDisposable
|
|
public void Dispose()
|
|
{
|
|
if (_disposed) return;
|
|
_disposed = true;
|
|
}
|
|
#endregion
|
|
}
|
|
}
|