Menu Close

Splash Screen in Unity | Splash Using C# Script | Unity Game Development Tutorial 22 | Unity Urdu

0 0
Read Time:20 Second

👉 Description: In This Video You’ll Learn About the Splash Screen in Unity Using C# Script.

C# Script From Splash Screen Unity:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class Splash : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        StartCoroutine(SplashScreen());
    }

    IEnumerator SplashScreen()
    {
        yield return new WaitForSeconds(3f);
        SceneManager.LoadScene("MainMenuScene");
    }
}

Tutorial Video:

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Related Posts

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published.

%d bloggers like this: