//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Tuesday, June 11, 2019 //-------------------------------------------------------- using UnityEngine.UI; using vnxbqy.UI; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using DG.Tweening; public class HolidayRefuseClassificationWin : ILWindow { List bins = new List(); List binImages = new List(); List uiEffectIn = new List(); List uiEffectOut = new List(); Button rankBtn; Button collectBtn; ItemCell dragItem; ItemCell selectItem; Text itemName; Text itemDesc; Transform itemDescFrame; Text resultMsg; ScrollerController m_ItemScrollControl; Text envValue; float sortableTime = 0; //整理背包间隔 PointerEventData data; //点击事件 float ImageHideTime = 0; //图片的动态显示和特效搭配 Vector3 showPosition; PackModel playerPack { get { return ModelCenter.Instance.GetModelEx(); } } #region Built-in protected override void BindController() { bins.Clear(); bins.Add(proxy.GetWidgtEx("bin1")); bins.Add(proxy.GetWidgtEx("bin2")); bins.Add(proxy.GetWidgtEx("bin3")); bins.Add(proxy.GetWidgtEx("bin4")); binImages.Clear(); binImages.Add(proxy.GetWidgtEx("image1")); binImages.Add(proxy.GetWidgtEx("image2")); binImages.Add(proxy.GetWidgtEx("image3")); binImages.Add(proxy.GetWidgtEx("image4")); uiEffectIn.Clear(); uiEffectIn.Add(proxy.GetWidgtEx("uieffectIn1")); uiEffectIn.Add(proxy.GetWidgtEx("uieffectIn2")); uiEffectIn.Add(proxy.GetWidgtEx("uieffectIn3")); uiEffectIn.Add(proxy.GetWidgtEx("uieffectIn4")); uiEffectOut.Clear(); uiEffectOut.Add(proxy.GetWidgtEx("uieffectOut1")); uiEffectOut.Add(proxy.GetWidgtEx("uieffectOut2")); uiEffectOut.Add(proxy.GetWidgtEx("uieffectOut3")); uiEffectOut.Add(proxy.GetWidgtEx("uieffectOut4")); m_ItemScrollControl = proxy.GetWidgtEx("ScrollerControl"); rankBtn = proxy.GetWidgtEx