// Use this for initialization void Awake() { if (s_instance != null) { Destroy(this); } s_instance = this; DontDestroyOnLoad(this); Hide(); }
/// <summary> /// Called when the Room Scene is loaded /// </summary> public void OnRoomLoaded() { Debug.Log("OnRoomLoaded SynthEssentials"); EssentialVisibleWrapper.Show(); }
/// <summary> /// Called when the Room Scene is unloaded /// </summary> public void OnRoomUnloaded() { Debug.Log("OnRoomUnLoaded SynthEssentials"); EssentialVisibleWrapper.Hide(); }
public override void OnModUnload() { Debug.Log("SynthEssentials Mod Unloaded"); EssentialVisibleWrapper.Clear(); }