- 引入 UnityGameFramework

- 使用 Luban 替代原来的 UGF 的数据表
This commit is contained in:
huangjun
2026-08-30 18:08:55 +08:00
parent 42ad134759
commit 92bf3e9097
1925 changed files with 362268 additions and 4859 deletions
@@ -0,0 +1,54 @@
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using GameFramework;
using System;
namespace UnityGameFramework.Runtime
{
internal sealed class ShowEntityInfo : IReference
{
private Type m_EntityLogicType;
private object m_UserData;
public ShowEntityInfo()
{
m_EntityLogicType = null;
m_UserData = null;
}
public Type EntityLogicType
{
get
{
return m_EntityLogicType;
}
}
public object UserData
{
get
{
return m_UserData;
}
}
public static ShowEntityInfo Create(Type entityLogicType, object userData)
{
ShowEntityInfo showEntityInfo = ReferencePool.Acquire<ShowEntityInfo>();
showEntityInfo.m_EntityLogicType = entityLogicType;
showEntityInfo.m_UserData = userData;
return showEntityInfo;
}
public void Clear()
{
m_EntityLogicType = null;
m_UserData = null;
}
}
}