Ejemplo n.º 1
0
        public static UIVeteransReportMVPShip Instantiate(UIVeteransReportMVPShip prefab, Transform parent, Vector3 pos, ShipModel_BattleResult model)
        {
            UIVeteransReportMVPShip uIVeteransReportMVPShip = UnityEngine.Object.Instantiate(prefab);

            uIVeteransReportMVPShip.transform.parent = parent;
            uIVeteransReportMVPShip.transform.localScaleOne();
            uIVeteransReportMVPShip.transform.localPosition = pos;
            uIVeteransReportMVPShip.SetShipTexture(model);
            return(uIVeteransReportMVPShip);
        }
Ejemplo n.º 2
0
        public static UIVeteransReportMVPShip Instantiate(UIVeteransReportMVPShip prefab, Transform parent, Vector3 pos, ShipModel_BattleResult model)
        {
            UIVeteransReportMVPShip uIVeteransReportMVPShip = Object.Instantiate <UIVeteransReportMVPShip>(prefab);

            uIVeteransReportMVPShip.get_transform().set_parent(parent);
            uIVeteransReportMVPShip.get_transform().localScaleOne();
            uIVeteransReportMVPShip.get_transform().set_localPosition(pos);
            uIVeteransReportMVPShip.SetShipTexture(model);
            return(uIVeteransReportMVPShip);
        }