21 lines
421 B
C#
21 lines
421 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Reset.Core{
|
|
public class UIManager{
|
|
public static GameObject UI;
|
|
|
|
[RuntimeInitializeOnLoadMethod]
|
|
static void PopulateUISceneReferences(){
|
|
try {
|
|
UI = GameObject.Find("UICanvas");
|
|
} catch (Exception e) {
|
|
Console.WriteLine(e);
|
|
throw;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|