using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Saltosion.OneWeapon.Menus { public class GoreToggler : MonoBehaviour { public GameObject GoreObject; public GameObject CensoredObject; private void Update() { GoreObject.SetActive(!Options.CensorGore); CensoredObject.SetActive(Options.CensorGore); } public void ToggleGore() { Options.CensorGore = !Options.CensorGore; } } }