using System.Collections; using System.Collections.Generic; using UnityEngine; public class SettingData : StorageBase { public bool IsMusicOn { get { return mIsMusicOn; } set { mIsMusicOn = value; Save(); } } [SerializeField] private bool mIsMusicOn = true; public bool IsSoundOn { get { return mIsSoundOn; } set { mIsSoundOn = value; Save(); } } [SerializeField] private bool mIsSoundOn = true; public bool IsVibrateOn { get { return mIsVibrateOn; } set { mIsVibrateOn = value; Save(); } } [SerializeField] private bool mIsVibrateOn = true; public float CamHSpeed { get => mCamHSpeed; set { mCamHSpeed = value; Save(); } } [SerializeField] float mCamHSpeed = 5; public float CamVSpeed { get => mCamVSpeed; set { mCamVSpeed = value; Save(); } } [SerializeField] float mCamVSpeed = 3; }