LD50/Assets/Scripts/PersistantStorage.cs
2022-04-05 02:09:50 +02:00

22 lines
523 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PersistantStorage : PersistentManager<PersistantStorage>
{
public float AudioVolume;
public float Score;
public bool enableNsfwMode = false;
protected override void Awake()
{
if(Instance != null)
{
Debug.Log("Deleting PersistantStorage cause one is already in your Scene.");
Destroy(this.gameObject);
return;
}
base.Awake();
}
}