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
GameObject
is containers forComponent
GameObject
always hasTransform
, cannot remove
Component
Transform
,Mesh
,Light
,Camera
, ... isComponent
Prefab
- Template for collection of
GameObject
with property - Can keep property in different scene
- Can be instantiate
- Can be override property in different instance