bugfixing
added canvas objects to all scenes (and event systems with them), game should be playable all the way through maybe!
This commit is contained in:
@@ -6,9 +6,9 @@ using TMPro;
|
||||
|
||||
public class DebugSceneSwitcher : MonoBehaviour
|
||||
{
|
||||
|
||||
void Awake() {
|
||||
if (!GameObject.Find("StateController").GetComponent<StateController>().inDebugMode) {
|
||||
|
||||
void Start() {
|
||||
if (!GameObject.Find("StateController").GetComponent<StateController>().inDebugMode) {
|
||||
Destroy(this.gameObject);
|
||||
}
|
||||
// check to see if a debug canvas already exists
|
||||
|
||||
Reference in New Issue
Block a user