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); }
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); }