Initial. Added files
This commit is contained in:
18
Assets/Scripts/Misc/SettingsReader.cs
Executable file
18
Assets/Scripts/Misc/SettingsReader.cs
Executable file
@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class SettingsReader : MonoBehaviour
|
||||
{
|
||||
private static SettingsReader instance;
|
||||
public static SettingsReader Instance { get { return instance; } }
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Debug.Log("init");
|
||||
instance = this;
|
||||
}
|
||||
|
||||
[SerializeField] private Settings gameSettings;
|
||||
public Settings GetSettings { get { return gameSettings; } }
|
||||
}
|
Reference in New Issue
Block a user