剛接觸unity勿噴.....看到一段代碼
public GameObject BtnLearn;
public GameObject BtnPlay;
void Start () {
UIEventListener.Get(BtnLearn).onClick = OnClickLearn;
UIEventListener.Get(BtnPlay).onClick = OnClickPlay;
}
我想知道為什么這兩個GameObject都沒實體化是怎么跟對應的按鈕關聯起來的
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/113511.html
標籤:Unity3D
上一篇:智能卡安全域構建
