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