Exemplo n.º 1
0
        private void OnEffectEvent(IEvent ievent)
        {
            MountEffect_Event e = ievent as MountEffect_Event;

            if (e == null)
            {
                return;
            }
            if (e.Type != 0)
            {
                return;
            }
            NetManager.Instance.StartCoroutine(OnEffectCoroutine());
        }
Exemplo n.º 2
0
        private void OnEffectEvent(IEvent ievent)
        {
            MountEffect_Event e = ievent as MountEffect_Event;

            if (e == null)
            {
                return;
            }
            if (e.Type != 2)
            {
                return;
            }
            MountFeedItemDataModel data = item.Item as MountFeedItemDataModel;

            if (data == null)
            {
                return;
            }
            if (data.Item.ItemId != e.ID)
            {
                return;
            }
            NetManager.Instance.StartCoroutine(OnEffectCoroutine());
        }