onClick.AddListener(TaskOnClick); } void TaskOnClick(){ Debug.Log ("You have clicked the button!"); } } Copyright © 2016 Unity Technologies.
確定! 回上一頁