Add a setting to hide socials from main menu

This commit is contained in:
2025-06-07 14:25:46 -07:00
parent 95a37395a1
commit 8f3ecfdab4
7 changed files with 434 additions and 21 deletions

View File

@@ -0,0 +1,12 @@
using UnityEngine;
public class HideIfSettingFalse : MonoBehaviour
{
public string setting;
public bool reverse;
void Awake()
{
gameObject.SetActive(PlayerPrefs.GetInt(setting, 0) == (reverse ? 0 : 1));
}
}