Runtime
运行时创建场景物体,Runtime objects in Unity3D
由 u8 于 星期四, 06/10/2010 - 22:25 发表不同于动态载入场景物体,此教程为如何在运行时通过代码来创建物体,并赋于纹理材质,很有启发性的实现手段。下面为原文:
Unity3D can work with meshes created in external 3D editors, but geometry can also be created with code. And not only geometry, but materials and textures as well. To test all these options I created a simple cityscape. I got inspired by this set of awesome pictures and also by a project called Pixel City by Shamus Young.
unity3d通常使用其它三维程序创建的物体,不过基本的几何体可以直接在unity3d中通过代码来创建,当然,不仅是简单的几何体,通过代码还可以漂亮的实现材质及纹理。为了测试以上几个功能,我创建了一个简单的城市场景。创意来自一组纽约夜景照片!

