Popular posts from this blog
Scripting
I was also in charge of scripting several aspects of the game. I created the wave system, a scene fader to load multiple levels (for future additions), Pause functionality, and the rotating sky, and reversing the normals on the skysphere to make it work correctly. here is a link to my github to view my project there. https://github.com/CrudenDarkeyes/FourthNight GameManager using UnityEngine ; using System . Collections ; public class GameManager : MonoBehaviour { public static bool GameIsOver; public GameObject gameOverUI; public GameObject completeLevelUI; void Start () { GameIsOver = false ; } // Update is called once per frame void Update () { if ( GameIsOver ) return ; if ( PlayerStats . Lives <= 0 ) { EndGame (); } } void EndGame () { GameIsOver = true ; gameOverUI . SetActive ( true ); } public void Wi
Comments
Post a Comment