예제 #1
0
    public void SetData(GroupData _gData)
    {
        this.data = _gData;

        this.eventPanel = GroupManageUI.GetInstance().CreateGroupEventsPanel();
        this.eventPanel.InitEventsPanel(_gData);
    }
예제 #2
0
 public void OnPointerClick(PointerEventData eventData)
 {
     if (eventData.button == PointerEventData.InputButton.Left)
     {
         if (this.isEditMode == false)
         {
             GroupManageUI.GetInstance().SelectGroupCell(this);
         }
     }
 }
예제 #3
0
 void Awake()
 {
     this.btn_AddGroup.onClick.AddListener(this.OnAddGroup);
     _instance = this;
 }
예제 #4
0
 void OnConfirmDestroyGroup()
 {
     GroupManageUI.GetInstance().DestroyGroup(this);
 }
예제 #5
0
 void OnAddMemoryEvent()
 {
     GroupManageUI.GetInstance().addEventPanel.OpenPanel(this);
 }