Code: Select all
//simple fade in
public void FadeCamera(Action onComplete = null)
{
//fade in and out operation
//and complete
onComplete?.Invoke();
}
My default sequence is;
Code: Select all
SendMessage(DialogueSequenceTurn, , speaker);Delay({{end}})
Code: Select all
public void DialogueSequenceTurn()
{
//switch to speaker's face cam
}
I could add a sequence that calls FadeCamera to all of my first nodes in dialogue database, but that's not a good approach.
How should i solve it? Thanks in advance
(I am sorry if similar questions have been asked)