你好吗.我想创建一个新的游戏对象,然后在场景中添加游戏对象.
我该怎么做呢?
我的代码是:
GameObject a = new GameObject(); GameObject aClone = Instantiate(a) as GameObject;
但是无法正常工作.
c# unity-game-engine
c# ×1
unity-game-engine ×1