using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class PlayerData { //public int saveSlot; public float playerHealth; public Vector3 playerPosition; public Quaternion playerRotation; public string activeCameraName; // Store the active camera's name or identifier public List saveTriggersThatNeedToBeDeactivated = new List(); // Initialize the list here //List of collected secret items public List collectedSecretItems = new List(); // Initialize the list here; // Count of collected secret items public int collectedSecretItemCount; public bool playIntroCutscene; public bool continueButtonEnabled; public bool playerControllerShouldBeEnabledOnGameLoad; public bool playerCameraControllerShouldBeEnabledOnGameLoad; public bool playerSanityShouldBeEnabledOnGameLoad; // Add any other data you want to save }