using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace SimpleInventorySystem { public class ContextMenuManagerUI : MonoBehaviour { public GameObject itemInspectMenu; [HideInInspector] public ItemUI inspectItem; public GameObject TacticalRigInspectionWindow; private void Awake() { } public void OpenContextMenu(ItemUI uiContext) { //ContextMenuUI.transform.SetParent(uiContext, false); itemInspectMenu.SetActive(true); itemInspectMenu.transform.position = uiContext.transform.position; inspectItem = uiContext; //ContextMenuUI.transform.localScale = new Vector3(1, 1, 1); Button inspectButton = itemInspectMenu.transform.Find("Inspect").GetComponent