Exemplo n.º 1
0
 public void MSGSelect(int z)
 {
     if (us.IsWithinSelectionBounds(go))
     {
         mat.color = Color.red;
     }
     else
     {
         mat.color = Color.blue;
     }
 }
Exemplo n.º 2
0
 public void SelectionEventHandler(Vector3 parameter)
 {
     if (us.IsWithinSelectionBounds(go))
     {
         mat.color = Color.red;
     }
     else
     {
         mat.color = Color.blue;
     }
 }
Exemplo n.º 3
0
 bool HandleSelectionMessage(BaseMessage msg)
 {
     if (us.IsWithinSelectionBounds(go))
     {
         mat.color = Color.red;
         return(false);
     }
     else
     {
         mat.color = Color.blue;
         return(false);
     }
 }