public void UnPickObject(GameObject picked) { if (lastPick.GetInstanceID() == picked.GetInstanceID()) { lastPick = null; ToolTipView = null; ViewChanged?.Invoke(this, null); } }
public void PickObject(GameObject picked, ToolTipShowComponent toolTipView) { ToolTipView = toolTipView; lastPick = picked; ViewChanged?.Invoke(this, null); }