38 lines
774 B
C#
38 lines
774 B
C#
using UnityEngine;
|
|
using System;
|
|
|
|
namespace TH1_UI.View.Base
|
|
{
|
|
public class ViewSub : View
|
|
{
|
|
public void Initialize(UIWindowProperty windowProperty, Canvas parentCanvas)
|
|
{
|
|
_winProperty = windowProperty;
|
|
_canvas = parentCanvas;
|
|
_parentCanvas = parentCanvas;
|
|
//
|
|
PreInitStart();
|
|
InitStart();
|
|
}
|
|
//
|
|
public override bool IsShow()
|
|
{
|
|
return _show;
|
|
}
|
|
//
|
|
public override void Show()
|
|
{
|
|
_show = true;
|
|
}
|
|
//
|
|
public override void Hide(Action onHideCompleted = null)
|
|
{
|
|
_show = false;
|
|
}
|
|
//
|
|
protected Canvas _parentCanvas;
|
|
}
|
|
|
|
}
|
|
|