Skip to main content

Unity

Monobehaviours doesn't use constructor

Reference

Use Awake() / Start()

NameDescription
Vertex / Vertices / Point
Edge / Line
Face
Mesh / Polygon多面體,Vertex / Edge / Face 的集
Concave由 Face 組成的多面體
Convex由 Vertex 組成的多面體

Execution Order

Reference

Flow Chart

GameObject

  • GameObject is containers for Component
  • GameObject always has Transform, cannot remove

Component

  • Transform, Mesh, Light, Camera, ... is Component

Prefab

  • Template for collection of GameObject with property
  • Can keep property in different scene
  • Can be instantiate
  • Can be override property in different instance