mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
16 lines
336 B
C#
16 lines
336 B
C#
namespace GameBase
|
||
{
|
||
public class BaseClsTemplate<T>
|
||
{
|
||
protected static T Imp;
|
||
|
||
/// <summary>
|
||
/// Unity工程,注册处理函数。
|
||
/// </summary>
|
||
/// <param name="imp">实现类。</param>
|
||
public static void RegisterImp(T imp)
|
||
{
|
||
Imp = imp;
|
||
}
|
||
}
|
||
} |