Toss Game (Scene_Manager Script)

 using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using UnityEngine.SceneManagement;


public class Scene_Manager : MonoBehaviour

{

    public void Toss_Coin_Screen()

    {

        SceneManager.LoadScene("Toss_Coin");

    }


    public void Numbering_Screen()

    {

        SceneManager.LoadScene("Select_Screen");

    }


    public void Home_Screen()

    {

        SceneManager.LoadScene("Home_Screen");

    }


    public void ReloadScene()

    {

        SceneManager.LoadScene(SceneManager.GetActiveScene().name);

    }


    public void RateUs()

    {

        Application.OpenURL(<App Link>);

    }

}


0 Comments: