added transition scene with basic tutorial AND PERSISTENT DATA

PLEASE launch game from the main menu scene, otherwise persistent data will not load correctly
This commit is contained in:
slevy14
2023-04-25 13:27:12 -07:00
parent cea079d243
commit c0f9749da5
17 changed files with 1790 additions and 242 deletions

View File

@@ -132,7 +132,7 @@ public class PlayerBehavior : MonoBehaviour
}
void LetGoOfGrapple() {
bool currentlyPaused = GameObject.Find("PauseMenu").GetComponent<PauseController>().isPaused;
bool currentlyPaused = stateController.isPaused;
if (grapplingRope.isGrappling && !currentlyPaused) {
print("currently paused is " + currentlyPaused + ", releasing grapple");
if (tambourine != null) {