MeshComponentManager::CreateComponent返回值统一改为Component

This commit is contained in:
2025-06-23 23:52:09 +08:00
parent 090f4576e0
commit 5ee42c2ae2
3 changed files with 4 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ public: //Component 相关
return(nullptr);
}
return manager->CreateComponent(args...); //创建组件
return (C *)(manager->CreateComponent(args...)); //创建组件
}
template<typename C,typename ...ARGS>