25. Q Hand Tool
W Move Tool
E Rotate Tool
R Scale Tool
T Rect Tool
Ctrl+ Z Undo
Ctrl + Y Redo
Ctrl + X Cut
Ctrl + C Copy
Ctrl + V Paste
Ctrl + D Duplicate
Shift + Del Delete
Ctrl + A Select all
Ctrl + P Play
Ctrl + Shift + P Pause
快速鍵
25
39. Help選單
A. 關於Unity的版本、授權等資訊
B. 使用手冊及API參考手冊
C. Vuforia AR引擎資源入口
D. Unity官方輔助資源入口
E. 檢查更新及下載測試版
F. Unity授權的管理
G. 版本說明及錯誤回報
H. 回復套件到預設狀態
I. 常見問題排除說明
系統選單 7/7
39
A
B
C
D
E
G
I
H
F
55. Unity程式腳本使用C#語言,預設腳本程式碼如下:
using UnityEngine;
using System.Collections;
public class ScriptFilename : MonoBehaviour {
// Use this for initialization
void Start (){
}
// Update is called once per frame
void Update (){
}
}
Unity程式腳本 2/2
55
61. 編輯Main.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Main : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0)) SceneManager.LoadScene("level_one");
}
}
Lab 場景切換測試 2/5
61
63. 編輯Level_one.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Level_one : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0)) SceneManager.LoadScene("main");
}
}
儲存場景level one.unity
Lab 場景切換測試 4/5
63
64. 選單命令File> Building Settings…,將main及level_one場景加
入Scenes In Build清單中
執行測試
點擊滑鼠左鍵可切換場景
Lab 場景切換測試 5/5
64