コード例 #1
0
ファイル: HedraToggle.cs プロジェクト: Olsyx/Hedra-Library
 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(); });
 }