Hi. When i move mouse and my raycast give info that item is pickable i put him info item, by simply
public Rigidbody item;
RaycastHit hit;
item = hit.collider.GetComponent<Rigidbody>();
And i see what item im holding in unity window.
After i relise item (drop or throw) i want to make item unsigned again so i can pick other object/oher cube
(in unity “Item None (Rigidbody)” )
how can i unassinged item again? browse on internet but could find answer