// if item Clicked, go to dragon.checked for equipped check public void ItemClicked() { Item item = EventSystem.current.currentSelectedGameObject.GetComponent <Item>(); dragon.CheckItem(item); }