public GameObject BtnLearn;
Public GameObject BtnPlay;
Void the Start () {
UIEventListener. Get (BtnLearn). The onClick=OnClickLearn;
UIEventListener. Get (BtnPlay). The onClick=OnClickPlay;
}
I want to know why the two haven't instantiate the GameObject how is associated with the corresponding button
CodePudding user response:
On the need to hang the unity script gameobject assignment