using Invector.vItemManager; using Sirenix.OdinInspector; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Beyond { public class WeaponSwitcher : MonoBehaviour { vItemManager m_itemMgr; [Button] public void SwitchRightWeapon() { var eA = m_itemMgr.inventory.equipAreas[0]; //eA.onPickUpItemCallBack /* var items = m_itemMgr.GetItemsInEquipArea(0); Debug.Log("Items in equip area 0"); foreach (var it in items) { Debug.Log(it.name); } */ eA.NextEquipSlot(); } // Start is called before the first frame update void Start() { m_itemMgr = GetComponent(); } // Update is called once per frame void Update() { } } }