quality-control/Assets/Scripts/GameAssets.cs

16 lines
263 B
C#
Raw Normal View History

using UnityEngine;
public class GameAssets: MonoBehaviour
{
public static GameAssets Instance;
public Material MissingMaterial;
private void Start()
{
if (Instance == null)
{
Instance = this;
}
}
}