Unity遊戲設計架構 專案 Project 場景 1 Scene 1 基本幾何 物件 程式�本 Script 場景 2 Scene 2 材質 Material 場景 3 Scene 3 燈光 Light … 攝影機 Camera …
Start Unity
Script(C#)
宣告與資料型態 public & static Array Random *float 形態後面一定要加f 不然會error!!!!
Transform class this. transform. position = new Vector 3(0, 0, 0) //將此物件位置設在(0, 0, 0) this. transform. position. x //取得此物件x座標 其他使用方法可參考以下網址 http: //docs. unity 3 d. com/Script. Referenc e/Transform. html
Reference
Reference Unity 3 D website: unity 3 D. com – http: //unity 3 d. com/ Unity. Community – http: //unity 3 d. com/community Other website – http: //www. cg. com. tw/Unity. asp ebook: – Unity Game Development Essentials