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:
Sam
2023-04-30 22:01:55 -07:00
parent 743dc3d38a
commit 14a4de41cc
17 changed files with 5783 additions and 2266 deletions

View File

@@ -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