slay
This commit is contained in:
parent
00a364bf41
commit
b284e6b007
3 changed files with 2 additions and 4 deletions
|
@ -254994,7 +254994,7 @@ MonoBehaviour:
|
|||
storyText: {fileID: 1809346053}
|
||||
parkPondTrigger: {fileID: 1801320667}
|
||||
schoolTrigger: {fileID: 1357420349}
|
||||
xrRig: {fileID: 0}
|
||||
xrRig: {fileID: 1988509987}
|
||||
--- !u!43 &1359399347
|
||||
Mesh:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -35,6 +35,7 @@ public class GoToSchool : MonoBehaviour
|
|||
void Awake()
|
||||
{
|
||||
Debug.Log("IM AWAKE");
|
||||
DontDestroyOnLoad(gameObject);
|
||||
gameManager = GameManager.Instance; // Reference to GameManager instance
|
||||
Debug.Log("currentday: " + gameManager.currentDay);
|
||||
if (storyPanelUI == null)
|
||||
|
|
|
@ -55,9 +55,6 @@ public class LeaveHouseTrigger : MonoBehaviour
|
|||
|
||||
// Load the next scene directly without needing to set the last scene
|
||||
SceneManager.LoadScene(nextSceneName);
|
||||
|
||||
// Optionally, you can increment the day or perform other necessary actions
|
||||
GameManager.Instance.IncrementDay();
|
||||
}
|
||||
|
||||
public void CancelLeave()
|
||||
|
|
Loading…
Add table
Reference in a new issue