Tekkaman

导航

 

2014年1月31日

摘要: 【Primitive Objects】 Unity can work with 3D models of any shape that can be created with modelling software. However, there are also a number of primitive object types that can be created directly within Unity, namely theCube,Sphere,Capsule,Cylinder,PlaneandQuad. These objects are often useful in th. 阅读全文
posted @ 2014-01-31 23:02 Tekkaman 阅读(464) 评论(0) 推荐(0)
 
摘要: 【Event Functions】 A key concept in games programming is that of making changes to position, state and behavior of objects in the game just before eac... 阅读全文
posted @ 2014-01-31 21:21 Tekkaman 阅读(286) 评论(0) 推荐(0)
 
摘要: 【Accessing Components】 The most common case is where a script needs access to other Components attached to the same GameObject.A Component is actually an instance of a class so the first step is to get a reference to the Component instance you want to work with. This is done with theGetComponentfun. 阅读全文
posted @ 2014-01-31 19:15 Tekkaman 阅读(327) 评论(0) 推荐(0)
 
摘要: 【Material】 Materials are used in conjunction withMeshorParticle Systemsattached to theGameObject. They play an essential part in defining how your ob... 阅读全文
posted @ 2014-01-31 15:02 Tekkaman 阅读(435) 评论(0) 推荐(0)
 
摘要: 【Prefabs】 APrefabis a type of asset -- a reusableGameObjectstored inProject View. Prefabs can be inserted into any number of scenes, multiple times per scene. When you add a Prefab to a scene, you create aninstanceof it. All Prefab instances are linked to the original Prefab and are essentially clo. 阅读全文
posted @ 2014-01-31 13:21 Tekkaman 阅读(475) 评论(0) 推荐(0)