Page 1 of 1

Scene transition effect while activate/deactivate object

Posted: Sat Sep 24, 2022 3:11 pm
by Ekta Bhutwala
Hii..

I have one scene having multiple objects just like one house is having multiple rooms.

I want fade in/out transition effect when i switch between rooms.

Thanks.

Re: Scene transition effect while activate/deactivate object

Posted: Sat Sep 24, 2022 10:02 pm
by Tony Li
You can use a sequence with the Fade(stay) and Fade(in) commands. Example:

Code: Select all

Fade(stay)->Message(FadedOut);
MoveTo(Kitchen, Player)@Message(FadedOut);
Fade(in)@Message(FadedOut);
The sequence above does this:
  • Fades to black. When done, sends the message "FadedOut".
  • Waits for the message "FadedOut" and then moves the GameObject named Player to the position of the GameObject named Kitchen.
  • Waits for the message "FadedOut" and then fades in.
More info: Cutscene Sequence Tutorials, Sequencer Command Reference