- Home /
Fade In and out when level is loaded
Hello, I'm useing this script to load levels.
#pragma strict
function OnTriggerEnter () {
Application.LoadLevel("Level-3");
}
I was wondering how can i fade in and out when a level is loaded. (eg. when you walk into the tigger to LoadLevel the scene fades in and once the new level is loaded it fades out.)
Thank you for your time and help.
Answer by jogo13 · Jan 01, 2013 at 05:56 PM
http://pixelplacement.com/2012/12/10/screen-fade/
(You'll need to fade out before loading the new level, then the new level will need to fade itself in.)
Answer by pad406 · Jan 01, 2013 at 06:06 PM
As an alternative, I came across this recently, works a treat
Your answer
Follow this Question
Related Questions
How to fade in GUI text. 2 Answers
Fade 3d text with lerp? 1 Answer
Easy fade in/out on level load/end? 2 Answers
How to make a object fade in when you click a object? 0 Answers
Getting In And Out Of Cars With Jcar 0 Answers