|
@@ -46,7 +46,8 @@ namespace ET.Client
|
|
|
{
|
|
|
modelName = $"Unit_{zu.Info.FileName}";
|
|
|
}
|
|
|
-
|
|
|
+ Log.Debug("服务端给过来的怪物资源名字: " + zu.Info.FileName);
|
|
|
+ //modelName = "Unit_Mushroom3";
|
|
|
var go = await GameObjectPool.Instance.Acquire(modelName);
|
|
|
go.SetActive(true);
|
|
|
go.transform.parent = GlobalViewMgr.Instance.Unit;
|