mirror of
https://github.com/imperialsushi/gutterball-3.git
synced 2025-06-15 05:07:42 +00:00

Strike it big with amazing bowling action! Everything that made Gutterball 3D a hit is here - incredible 3D graphics, cool ball-rolling controls, hilarious characters - and more! Eight all-new alleys are waxed and ready for you to toss your choice of 85 unique bowling balls. As you play, earn points and cash and unlock alleys and balls. Even customize a ball with your own settings and images! Addictive bowling fun that will bowl you over!
40 lines
963 B
C#
40 lines
963 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class Splash : MonoBehaviour
|
|
{
|
|
public GameObject splashScreen;
|
|
public GameObject activisionScreen;
|
|
public GameObject warningScreen;
|
|
public GameObject loadScreen;
|
|
|
|
// Use this for initialization
|
|
void Start ()
|
|
{
|
|
StartCoroutine(StartSplash());
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update ()
|
|
{
|
|
|
|
}
|
|
|
|
IEnumerator StartSplash()
|
|
{
|
|
yield return new WaitForSeconds(0.5f);
|
|
splashScreen.SetActive(true);
|
|
yield return new WaitForSeconds(10f);
|
|
splashScreen.SetActive(false);
|
|
activisionScreen.SetActive(true);
|
|
yield return new WaitForSeconds(6f);
|
|
activisionScreen.SetActive(false);
|
|
warningScreen.SetActive(true);
|
|
yield return new WaitForSeconds(6f);
|
|
warningScreen.SetActive(false);
|
|
loadScreen.SetActive(true);
|
|
SceneManager.LoadScene(1);
|
|
}
|
|
}
|