Example #1
0
 public void OnMouseExit()
 {
     if (GameController.OrderlyInScene && IsActionActive && !GameController.InMenuScreen)
     {
         RemoveHighlight();
         MouseCursorController.SetCursorToIdle();
     }
 }
Example #2
0
 private void OnMouseExit()
 {
     if (IsActive)
     {
         foreach (var mat in HighlightMaterials)
         {
             mat.shader = StandardShader;
         }
         Destroy(PopUpUI);
         CursorCtrl.SetCursorToIdle();
     }
 }