Page 1 of 1

Disable Camera?

Posted: Tue Jan 05, 2021 10:38 pm
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

Re: Disable Camera?

Posted: Wed Jan 06, 2021 8:46 am
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.

Re: Disable Camera?

Posted: Tue Jan 12, 2021 8:37 am
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!