Unity
Monobehaviours doesn't use constructor
Use Awake() / Start()
| Name | Description |
|---|---|
| Vertex / Vertices / Point | 點 |
| Edge / Line | 線 |
| Face | 面 |
| Mesh / Polygon | 多面體,Vertex / Edge / Face 的集 |
| Concave | 由 Face 組成的多面體 |
| Convex | 由 Vertex 組成的多面體 |
Execution Order
GameObject
GameObjectis containers forComponentGameObjectalways hasTransform, cannot remove
Component
Transform,Mesh,Light,Camera, ... isComponent
Prefab
- Template for collection of
GameObjectwith property - Can keep property in different scene
- Can be instantiate
- Can be override property in different instance