Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created July 13, 2018 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/3fdb0484e0c86e9932a7df31abd620dd to your computer and use it in GitHub Desktop.
Save todorok1/3fdb0484e0c86e9932a7df31abd620dd to your computer and use it in GitHub Desktop.
Buttonコンポーネントを使わずにクリックを検知したい
public class HandlerTest : MonoBehaviour {
public void OnButtonPressed(){
Debug.Log("UIのボタンが押されたよ!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment