- Home /
How to make intro/logo like logo unity ?
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.
Answer by bionicnacho · Jan 24, 2013 at 01:41 AM
Create a new scene.
Attatch your script to the main camera. Now, make sure that your new scene is the FIRST scene in the build settings, as that is the scene that will load first.
I am guessing you mean for a Splash screen?
On there make sure the scene is set to 0 (0 = 1 in computers) If it isn't just drag it up.
Now it will load before all the other scenes!
Note that it will not replace the Default "Powered by Unity" in the beginning, if you are using Unity free.
Answer by iwaldrop · Jan 24, 2013 at 01:01 AM
Create a scene for your intro. Use a GUI.Texture to draw your image and do whatever you want (play sounds, shake the camera, have your characters run through and shoot stuff).
Your answer
![](https://koobas.hobune.stream/wayback/20220613091507im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Custom Logo animation 0 Answers
How do i add a Text/Logo Intro? 2 Answers
Common way to make a GameTutorial? 1 Answer
Disable GameObject Only Father Not Children 2 Answers
Extend simple movement script (C#) 1 Answer