using Invector.vItemManager; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class EquipDisplayWindowDisabler : MonoBehaviour { [SerializeField] private vInventory inventory; // Start is called before the first frame update private void Awake() { inventory.OnUpdateInventory += PreventNullError; } private void OnDestroy() { inventory.OnUpdateInventory -= PreventNullError; } private void PreventNullError() { } }