Created
July 13, 2018 05:29
-
-
Save todorok1/3fdb0484e0c86e9932a7df31abd620dd to your computer and use it in GitHub Desktop.
Buttonコンポーネントを使わずにクリックを検知したい
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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