public bool TryGetItem(out ItemEntityTag tag) { InteractableItem component = Internal.GetComponent <InteractableItem>(); if (component != null) { tag = new ItemEntityTag(component); return(true); } tag = null; return(false); }
public bool TryGetItem(out ItemEntityTag tag) { InteractableItem component = Internal.GetComponent<InteractableItem>(); if (component != null) { tag = new ItemEntityTag(component); return true; } tag = null; return false; }