예제 #1
0
        public override void Init(WinConfig winConfig, GameObject viewGO)
        {
            base.Init(winConfig, viewGO);

            view         = viewGO.GetComponent <Win_T1_Occupy_View>();
            view.maxTime = winConfig.t1_time;
        }
예제 #2
0
        override public void SetInfoPanel(GameObject infoPanelGO)
        {
            Win_T1_Occupy_View view = infoPanelGO.GetComponent <Win_T1_Occupy_View>();

            view.avatarConfig         = avatarConfig;
            view.descriptionText.text = winConfig.description;
            view.time     = (int)time;
            view.maxTime  = winConfig.t1_time;
            view.legionId = legionId;
        }