mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
TEngine 6
This commit is contained in:
16
UnityProject/Assets/Launcher/Scripts/UIBase.cs
Normal file
16
UnityProject/Assets/Launcher/Scripts/UIBase.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Launcher
|
||||
{
|
||||
/// <summary>
|
||||
/// 热更UI基类。
|
||||
/// </summary>
|
||||
public class UIBase : MonoBehaviour
|
||||
{
|
||||
protected object Param;
|
||||
public virtual void OnEnter(object param)
|
||||
{
|
||||
Param = param;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user