Example 1: unity assign button onclick public Button yourButton; void Start () { Button btn = yourButton.GetComponent (); //Grabs the button component btn.
確定! 回上一頁