Пример #1
0
 /// <summary>
 /// Raises event 'ChangeIcon'
 /// </summary>
 protected virtual void OnChangeIcon()
 {
     if (ChangeIcon != null)
     {
         ChangeIcon.Invoke(this, System.EventArgs.Empty);
     }
 }
Пример #2
0
    protected override void Init()
    {
        _instance = this;
        base.Init();
        closeBtn.onClick         = OnCloseBtn;
        goodsMultList            = transform.FindComponent <GUISingleMultList>("GoodsMultList");
        view                     = transform.Find("GoodsListScrollView");
        goodsMultList.ScrollView = view;

        foreach (int key in FSDataNodeTable <RoleIconAttrNode> .GetSingleton().DataNodeList.Keys)
        {
            if (key < 10014 || key == 10030)
            {
                RoleIconAttrNode a = FSDataNodeTable <RoleIconAttrNode> .GetSingleton().DataNodeList[key];

                keyList.Add(a);
            }
        }
    }
Пример #3
0
 public IEnumerable <IEvent> On(ChangeIcon command)
 {
     yield return(new IconChanged(command.ID, command.NewIcon));
 }