2022-02-10 04:26:52 +00:00
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
public class SettingData : StorageBase<SettingData>
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool IsMusicOn
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return mIsMusicOn;
|
|
|
|
|
|
}
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
mIsMusicOn = value;
|
|
|
|
|
|
Save();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2022-02-10 07:31:53 +00:00
|
|
|
|
[SerializeField] private bool mIsMusicOn = true;
|
2022-02-10 04:26:52 +00:00
|
|
|
|
|
|
|
|
|
|
public bool IsSoundOn
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return mIsSoundOn;
|
|
|
|
|
|
}
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
mIsSoundOn = value;
|
|
|
|
|
|
Save();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2022-02-10 07:31:53 +00:00
|
|
|
|
[SerializeField] private bool mIsSoundOn = true;
|
2022-02-10 04:26:52 +00:00
|
|
|
|
}
|