using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FashionShowEditPage : Regist { #region Config //StartMark-Used by LabelUtility-Do not remove private static Text CoinText; private static Text DiamondText; private static Text RecommendTitle; private static Text PraiseText; private static Text FashionTitlePlaceHolder; private static Text FashionContentPlaceHolder; private static Text CuteTitle; private static Text CuteValue; private static Text CuteRateText; private static Text GraceTitle; private static Text GraceValue; private static Text GraceRateText; private static Text VividTitle; private static Text VividValue; private static Text VividRateText; private static Text SimpleTitle; private static Text SimpleValue; private static Text SimpleRateText; private static Text GloryTitle; private static Text GloryValue; private static Text GloryRateText; private static Text FashionShowClosesTitle; private static Text CloseTotalCoinText; private static Text CloseTotalDiamondText; private static Button Return; private static Button DisplayEditButton; private static Button DeleteButton; private static Button ResetButton; private static Button SaveButton; private static Button PraiseButton; private static Button CommentButton; private static Button ShareButton; private static Button FashionTitleEditButton; private static Button FashionContentEditButton; private static Button RateButton; //EndMark-Used by LabelUtility-Do not remove private static Button SubmitRateButton; private static Button ResetRateButton; private static TweenOutline rateButtonAnim; private static Button DressroomFashionShowButton; private static Transform GardenFashionShowButtonParent; private static Text BuyAllButtonText; private static Button BuyAllButton; public static Transform Panel; private static Transform ChangeDressPanel; private static Transform DisplayBackground; private static Transform CuteRateBackground; private static Transform GraceRateBackground; private static Transform VividRateBackground; private static Transform SimpleRateBackground; private static Transform GloryRateBackground; private static Transform FashionShowCloseGrid; private static InputField FashionTitleInputField; private static InputField FashionContentInputField; private static CustomSlider CuteSlider; private static CustomSlider GraceSlider; private static CustomSlider VividSlider; private static CustomSlider SimpleSlider; private static CustomSlider GlorySlider; private static Transform CuteSliderBg; private static Transform GraceSliderBg; private static Transform VividSliderBg; private static Transform SimpleSliderBg; private static Transform GlorySliderBg; //private static bool Praised; private static bool BelongSelf; private static bool LeaveToRateMode; public static bool LeaveToHomePage; public static Player DisplayPlayer; private static KV TotalCoin; private static KV TotalDiamond; //private static TweenRenderer PlayerTween; private static GetFashionShowData FashionShowData; private static List CloseIDs = new List(); //private static List CloseNames = new List(); private static List CloseItems = new List(); private static int UnlockLevel = 21; #endregion public override void RegistReference() { CoinText = ResourceManager.Get(CanvasLabel.Pg_CoinText); DiamondText = ResourceManager.Get(CanvasLabel.Pg_DiamondText); RecommendTitle = ResourceManager.Get(CanvasLabel.Pg_RecommendTitle); PraiseText = ResourceManager.Get(CanvasLabel.Pg_PraiseText); FashionTitlePlaceHolder = ResourceManager.Get(CanvasLabel.Pg_FashionTitlePlaceHolder); FashionContentPlaceHolder = ResourceManager.Get(CanvasLabel.Pg_FashionContentPlaceHolder); CuteTitle = ResourceManager.Get(CanvasLabel.Pg_CuteTitle); CuteValue = ResourceManager.Get(CanvasLabel.Pg_CuteValue); CuteRateText = ResourceManager.Get(CanvasLabel.Pg_CuteRateText); GraceTitle = ResourceManager.Get(CanvasLabel.Pg_GraceTitle); GraceValue = ResourceManager.Get(CanvasLabel.Pg_GraceValue); GraceRateText = ResourceManager.Get(CanvasLabel.Pg_GraceRateText); VividTitle = ResourceManager.Get(CanvasLabel.Pg_VividTitle); VividValue = ResourceManager.Get(CanvasLabel.Pg_VividValue); VividRateText = ResourceManager.Get(CanvasLabel.Pg_VividRateText); SimpleTitle = ResourceManager.Get(CanvasLabel.Pg_SimpleTitle); SimpleValue = ResourceManager.Get(CanvasLabel.Pg_SimpleValue); SimpleRateText = ResourceManager.Get(CanvasLabel.Pg_SimpleRateText); GloryTitle = ResourceManager.Get(CanvasLabel.Pg_GloryTitle); GloryValue = ResourceManager.Get(CanvasLabel.Pg_GloryValue); GloryRateText = ResourceManager.Get(CanvasLabel.Pg_GloryRateText); FashionShowClosesTitle = ResourceManager.Get(CanvasLabel.Pg_FashionShowClosesTitle); CloseTotalCoinText = ResourceManager.Get(CanvasLabel.Pg_CloseTotalCoinText); CloseTotalDiamondText = ResourceManager.Get(CanvasLabel.Pg_CloseTotalDiamondText); CuteSlider = ResourceManager.Get(CanvasLabel.Pg_CuteSlider); GraceSlider = ResourceManager.Get(CanvasLabel.Pg_GraceSlider); VividSlider = ResourceManager.Get(CanvasLabel.Pg_VividSlider); SimpleSlider = ResourceManager.Get(CanvasLabel.Pg_SimpleSlider); GlorySlider = ResourceManager.Get(CanvasLabel.Pg_GlorySlider); CuteSliderBg = ResourceManager.Get(CanvasLabel.Pg_CuteBackground); GraceSliderBg = ResourceManager.Get(CanvasLabel.Pg_GraceBackground); VividSliderBg = ResourceManager.Get(CanvasLabel.Pg_VividBackground); SimpleSliderBg = ResourceManager.Get(CanvasLabel.Pg_SimpleBackground); GlorySliderBg = ResourceManager.Get(CanvasLabel.Pg_GloryBackground); Return = ResourceManager.Get