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