public static void ShowAsyn(GameLogic.GirlCaptureScene captureScene) { Hashtable hash = new Hashtable(); hash.Add("CaptureScene", captureScene); GameCore.Instance.UIManager.ShowUI("LogicUI/UICaptureSceneInfo", hash); }
public void AddCaptureSceneByID(List <GirlInfoRecord> girlList, params string[] ids) { foreach (var id in ids) { var record = TableReader.GirlCaptureScene.GetRecord(id); var captureScene = new GirlCaptureScene(record); captureScene.InitGirls(girlList); _CaptureList.Add(captureScene); } }
public void InitCapture(GameLogic.GirlCaptureScene captureScene) { if (captureScene == null) { return; } _GirlCaptureScene = captureScene; var showGirls = _GirlCaptureScene.AppearGirls; _GirlsContainer.InitContentItem(showGirls, CaptureGirlClick); }
public virtual void InitCaptureScene(GameLogic.GirlCaptureScene info) { if (info == null) { return; } _CaptureScene = info; if (_CaptureSceneIcon != null) { _CaptureSceneIcon.sprite = ResourceManager.Instance.GetSprite(_CaptureScene.CaptureSceneRecord.Icon.ToString()); } if (_CaptureSceneName != null) { _CaptureSceneName.text = _CaptureScene.CaptureSceneRecord.Name; } if (_CaptureSceneDesc != null) { _CaptureSceneDesc.text = _CaptureScene.CaptureSceneRecord.Desc; } }