Hi,
I've got a situation where old content and new content undergo fading transitions - old content faded out, new content faded in using the FadeCroup method on the container of all GUI screen (This parent into which screen are added/changed as the user navigates round the system). The base class of the content is a Group as this is what we use to define screens.
We've identified that 'during' the Fade transition, events may come in that require a current screen change to be cancelled and the new content 'snaps' in as the new content without a transition.
Looking at the faders, I am thinking that to do this I can call:
contentCroup.pendingFade.task.RemoveFade(contentCroup.pendingFade)
To cancel any ongoing fades?
Is the this right approach?