LoginSignup
0
0

More than 1 year has passed since last update.

Unityでマウスカーソルがオブジェクト上に来た時の処理

Last updated at Posted at 2021-12-25

オブジェクトを選択して,コンポーネントを追加 ⇒ イベントトリガー を選択する.

スクリーンショット (139).png

⇒Pointer Enterを選択する.
⇒重ねる対象のオブジェクトをドラッグ&ドロップする.
⇒重なったときに処理するための関数を選択する.※コンポーネント追加したスクリプト内のpublic関数しか使えなので注意.
スクリーンショット (140).png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0