Example #1
0
    public void OnPointerClick(PointerEventData eventData)
    {
        this.tc = GameObject.Find("MainController").GetComponent <TimeController>();
        EventAttributes eAtr = this.GetComponent <EventAttributes>();

        tc.ChangeEventClick(eAtr.data);
    }
 public void OnPointerClick(PointerEventData eventData)
 {
     this.tc = GameObject.Find("MainController").GetComponent<TimeController>();
     EventAttributes eAtr = this.GetComponent<EventAttributes>();
     tc.ChangeEventClick(eAtr.data);
 }