Unity3D之經常使用API方法

物體三種方法 GameObject go = new GameObject("cube"); //建立空物體 GameObject.Instantiate(prefab); //根據預製體建立 GameObject.CreatePrimitive(PrimitiveType.Cube); // 根據類型建立對象 根據對象新增組件 GameObject go = GameObject.Cre
相關文章
相關標籤/搜索