コード例 #1
0
        public static void ShowAsyn(GameLogic.GirlCaptureScene captureScene)
        {
            Hashtable hash = new Hashtable();

            hash.Add("CaptureScene", captureScene);
            GameCore.Instance.UIManager.ShowUI("LogicUI/UICaptureSceneInfo", hash);
        }
コード例 #2
0
 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);
     }
 }
コード例 #3
0
        public void InitCapture(GameLogic.GirlCaptureScene captureScene)
        {
            if (captureScene == null)
            {
                return;
            }

            _GirlCaptureScene = captureScene;

            var showGirls = _GirlCaptureScene.AppearGirls;

            _GirlsContainer.InitContentItem(showGirls, CaptureGirlClick);
        }
コード例 #4
0
        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;
            }
        }