開啟方法
工具(T) → 選單(O) → 環境 → 字型與色彩
使用者成員 - 命名空間
using UnityEngine;
使用者成員 - 常數
public const int MAX_Champ = 60;
使用者成員 - 區域函式
int tempstr = null;
使用者成員 - 方法
picks.GetComponent<peouse>().AD=1;
使用者成員 - 類別
picks.GetComponent<peouse>().AD=1;
使用者成員 - 結構
returnColor = new Vector4(0,0,0,0);
a = Mathf.FloorToInt(0.1f);
使用者成員 - 屬性
ABC.GetComponent<TextMesh>().color = new Vector4(0,0,0,0);
this.transform.position = new Vector3(0,0,0);
使用者成員 - 參數
void CaseIn ( string code, int codenum){
if(code=="消失"){
Destroy(sysuse.champsOBJ[codenum] );
}
}
數值
public int[] MreFor = new int[30];
註解
int a = 0; //這裡是註解
字串
string a = "阿姆斯壯特朗旋風";