32 lines
674 B
C#
32 lines
674 B
C#
using UnityEngine;
|
|
using Cysharp.Threading.Tasks;
|
|
using UVC.UI.Commands;
|
|
using UVC.UI.Toolbar.Model;
|
|
using UVC.UI.Toolbar.View;
|
|
using UVC.UI.Toolbar;
|
|
|
|
namespace EnglewoodLAB.UI
|
|
{
|
|
public class BottomLeftToolbar : UIPanel
|
|
{
|
|
internal ToolbarView view;
|
|
|
|
public override async UniTask Init()
|
|
{
|
|
if (view == null)
|
|
view = GetComponent<ToolbarView>();
|
|
|
|
await UniTask.CompletedTask;
|
|
}
|
|
|
|
public void HideItem()
|
|
{
|
|
if(view.SelectButton!=null)
|
|
{
|
|
view.SelectButton.ExecuteClick();
|
|
view.SelectButton = null;
|
|
}
|
|
}
|
|
}
|
|
}
|