0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

unity_インタラクト時にプレイヤーが自由移動できてしまう

Posted at

unity初心者の備忘録。
Dialoguesystemを用いた会話イベントでの、インタラクト時に背景でPlayerが自由移動できる問題の対処法。

1.DialoguesystemがアタッチされたObjectのInspectorを確認する
2.Dialoguesystemのコンポーネントを以下の通りにし、Player Character以外の項目を埋める。
image.png

※マウス操作(視点移動)が自由にできてしまう際も同様の対処法でOK。
※Player ImageおよびNpc Imageをアタッチしたところで、実際の会話シーン中には任意で設定しない限り表示されないので安心するがよろし。
※Dialogue Linesの下にあるItem Dialogue Linesはアイテム入手など、会話シーン以外で使用する。

インタラクトできるオブジェクトすべてに同様の対応が必要なので注意。

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?