示例#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);
 }