Forum rules - please read before posting.

Problem with skip speech

edited July 2014 in Engine development
Sometimes in editor mode, it is impossible to skip speeches. I discovered why, this is because the test of mouseState is in an FixedUpdate function while the test of mouse clic is in Update function. So depending of parameters of Time and FixedTimestep in Unity, you can't skip speeches because FixedUpdate is called less than Update (and we have to capture mouseState.SingleClick at one moment precisely).

Is it really necessary to put this code in FixedUpdate function in Dialog.cs or can you put the other code in FixedUpdate function too in PlayerInput.cs.



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.