how to make intro/logo like logo unity ?
i get script from my friend, but whether it will open the first scene? I’m not sure if the intro scene will open at the beginning of the game go ?
and whether this script can be use to intro?
sorry , my bad english …
#pragma strict
var screamSound : AudioClip; //in the projector assign the Screaming audio file
function Start ()
{
audio.clip = screamSound; //Assign the screamSound to the Scene object
audio.Play (); //Play the assigned audio file
yield WaitForSeconds (audio.clip.length); //It will play the whole audio file then next thing.
Application.LoadLevel ("Lose Screen"); //Reloads the "Main" Scene when the sound is done playing
}
//I used a pickup sound cause I didn't have a screaming sound. Just replace it.