Disable Camera?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Hereder
Posts: 76
Joined: Mon Dec 21, 2020 2:53 am

Disable Camera?

Post by Hereder »

Hi all!
Im doing a 2D game and I've managed to make the Dialogue System it work the way I want it too.
When I build my project my Camera remains static (It wont follow the player) and I have a sneaking susbision that it has something to do with the Camera settings in the Dialogue system? Can I, somehow, turn off all Camera controllers that is related to the Dialouge system?

My own camera controller that I wrote myself works fine in Unity, but when I build the project it wont move :S
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Disable Camera?

Post by Tony Li »

Hi!

Leave the Dialogue Manager's Camera & Cutscene Settings > Sequencer Camera field unassigned. Otherwise the Dialogue System will instantiate a copy of the Sequencer Camera to use during conversations.

Then make sure your camera is tagged "MainCamera". Otherwise the Dialogue System will also instantiate a new default camera in case your conversation includes Camera() or Zoom2D() sequencer commands.

If you do both of those things, and don't use any Camera(), Zoom2D(), or Cinemachine-related sequencer commands, the Dialogue System shouldn't touch your camera.
Hereder
Posts: 76
Joined: Mon Dec 21, 2020 2:53 am

Re: Disable Camera?

Post by Hereder »

Tony Li wrote: Wed Jan 06, 2021 8:46 am Hi!

Leave the Dialogue Manager's Camera & Cutscene Settings > Sequencer Camera field unassigned. Otherwise the Dialogue System will instantiate a copy of the Sequencer Camera to use during conversations.

Then make sure your camera is tagged "MainCamera". Otherwise the Dialogue System will also instantiate a new default camera in case your conversation includes Camera() or Zoom2D() sequencer commands.

If you do both of those things, and don't use any Camera(), Zoom2D(), or Cinemachine-related sequencer commands, the Dialogue System shouldn't touch your camera.
Sorry late reply.
and thanks! Will look into it asasp!
Post Reply