using System.Collections; using System.Collections.Generic; using UnityEngine; public class VaultPreferences : MonoBehaviour { private void Awake() { if (!_P.Cathedral_Ceiling) { gameObject.SetActive(false); Destroy(gameObject); } } }