init
This commit is contained in:
23
Assets/TcgEngine/Scripts/UI/BlackPanel.cs
Normal file
23
Assets/TcgEngine/Scripts/UI/BlackPanel.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TcgEngine.UI
|
||||
{
|
||||
public class BlackPanel : UIPanel
|
||||
{
|
||||
|
||||
private static BlackPanel instance;
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
instance = this;
|
||||
}
|
||||
|
||||
public static BlackPanel Get()
|
||||
{
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user