This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Last-Ember/Scripts/User Interface/Menus/SaveMenu/HideMeIf.cs
T
2019-03-08 09:54:14 +11:00

15 lines
289 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MenuSystem {
public class HideMeIf : MonoBehaviour {
public SaveHandler saveHandler;
void OnEnable() {
if (!saveHandler.saveMenuAvailable) {
gameObject.SetActive(false);
}
}
}
}