Exemplo n.º 1
0
 private void PlayWarVateransShipInfosIn()
 {
     _listVeteransReportFleets.ForEach(delegate(UIVeteransReportFleet x)
     {
         ProdVeteransReport prodVeteransReport = this;
         Action act = (x.fleetType != 0) ? null : new Action(PlayWarVeteransShipHPUpdate);
         Observable.FromCoroutine(() => x.PlayShipInfosIn(act)).Subscribe().AddTo(base.gameObject);
     });
 }
        public static ProdVeteransReport Instantiate(ProdVeteransReport prefab, Transform parent, BattleResultModel model)
        {
            ProdVeteransReport prodVeteransReport = Object.Instantiate <ProdVeteransReport>(prefab);

            prodVeteransReport.get_transform().set_parent(parent);
            prodVeteransReport.get_transform().localPositionZero();
            prodVeteransReport.get_transform().localScaleOne();
            prodVeteransReport._clsResultModel = model;
            return(prodVeteransReport.VirtualCtor());
        }
Exemplo n.º 3
0
        public static ProdVeteransReport Instantiate(ProdVeteransReport prefab, Transform parent, BattleResultModel model)
        {
            ProdVeteransReport prodVeteransReport = UnityEngine.Object.Instantiate(prefab);

            prodVeteransReport.transform.parent = parent;
            prodVeteransReport.transform.localPositionZero();
            prodVeteransReport.transform.localScaleOne();
            prodVeteransReport._clsResultModel = model;
            return(prodVeteransReport.VirtualCtor());
        }