Search found 35 matches

by jrose1184
Sat Feb 08, 2025 6:27 am
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

Thanks for all your help reeally appreciate your time
by jrose1184
Thu Feb 06, 2025 5:47 pm
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

Ok i found the issue the saveslot is saving the scene - how do i turn it off at the moment i just commented it out public static void LoadGame(SavedGameData savedGameData) { if (savedGameData == null) { if (Debug.isDebugBuild) Debug.LogWarning("SaveSystem.LoadGame received null saved game data....
by jrose1184
Thu Feb 06, 2025 5:29 pm
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

just fyi this is what my saving is doing public void SaveGame() { Debug.Log("im saving the game"); PixelCrushers.SaveSystem.SaveToSlot(1); SaveManager.SavePlayerData(PlayerController.instance.transform.position); } public static void SavePlayerData(Vector3 position) { // Show saving indica...
by jrose1184
Thu Feb 06, 2025 5:26 pm
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

Hi i have this weird bug going on. If i load my data it keeps returning me to my home screen and it only happens in this code if (SaveSystem.HasSavedGameInSlot(1)) { SaveSystem.LoadFromSlot(1); Debug.Log("im getting here 6"); } How can i see what data is in this slot incase some how its sa...
by jrose1184
Wed Feb 05, 2025 5:19 pm
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

Hi, Thanks very much all is working now. Just 2 more questions if you don't mind. 1)How do i remove the Main Menu from the Dialogue Manger as i built my own. 2)How do i turn off Alert Messages, If i do turn them off when i walk up to NPCs At the moment it says press space bar to interacte will turni...
by jrose1184
Wed Feb 05, 2025 9:35 am
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

Hi,

Made another video to explain what im seeing

by jrose1184
Wed Feb 05, 2025 8:38 am
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ContinueButton : MonoBehaviour { // Start is called before the first frame update void Start() { var button = GetComponent<Button>(); button.interactable = PixelCrushers.SaveSystem.HasSa...
by jrose1184
Wed Feb 05, 2025 8:31 am
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

Hi,

So that script does not need to go into start it needs to go on the continue button and it needs to have an onclick?

Also how can i see what slot my game is saving to?
by jrose1184
Wed Feb 05, 2025 4:46 am
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

Hi Sorry didnt see you replied

by jrose1184
Tue Feb 04, 2025 4:25 pm
Forum: Dialogue System for Unity
Topic: Loading Game
Replies: 25
Views: 4558

Re: Loading Game

void Start() { if (continueButton != null && PixelCrushers.SaveSystem.HasSavedGameInSlot(0)) { continueButton.interactable = true; continueButton.onClick.AddListener(OnContinueButtonClicked); Debug.Log("Event listener added to the continue button."); } else { continueButton.interac...