Example #1
0
 public void OnElementSelected(SelectEvent sEvent)
 {
     sEvent.Element.SetColor(Color.green);
     sEvent.Element.SetAnimBool("Hovered", true);
     sEvent.Element.SetText("Hovered");
     AddOutput(sEvent.Output);
     sEvent = null;
 }
Example #2
0
 public void OnElementDeselected(SelectEvent sEvent)
 {
     sEvent.Element.SetColor(Color.white);
     sEvent.Element.SetAnimBool("Hovered", false);
     sEvent.Element.SetText("Button");
     AddOutput(sEvent.Output);
     sEvent = null;
 }