Example #1
0
 void AssignMouseEvents()
 {
     Hedra.AssignEvent(this.gameObject, EventTriggerType.PointerEnter, (data) => { OnMouseEnter(); });
     Hedra.AssignEvent(this.gameObject, EventTriggerType.PointerExit, (data) => { OnMouseExit(); });
     Hedra.AssignEvent(this.gameObject, EventTriggerType.PointerClick, (data) => { OnMouseClick(); });
 }