using System; using System.Collections.Generic; using System.Linq; using System.Text; using LitJson; public class ShowCommentData { public int id; public string content; public AccountData accountData; public ShowCommentData(JsonData data) { id = (int) data["id"]; content = (string) data["content"]; long playerId = long.Parse(data["user_id"].ToString()); string nickname = (string) data["nickname"]; accountData = new AccountData(nickname, playerId.ToString()); } } public class ShowComment : BaseComment { public override void Visit() { FashionShowCommentPanel.HidePanel(); FashionShowEditPage.HidePanel(); FashionShowEditPage.HidePanel(); DelayCall.Call(1f, () => { //FashionShowHomePage.HideSidePanel(); FashionShowHomePage.HidePanel(); }); //TweenVec tweenVec = FashionShowEditPage.Panel.GetTweenVec(); //tweenVec.AddEventOnetime(EventType.BackwardFinish, () => //{ // FashionShowHomePage.HideSidePanel(); // FashionShowHomePage.HidePanel(); //}); base.Visit(); } }