public static BtlCut_ResultShip Instantiate(BtlCut_ResultShip prefab, Transform parent, Vector3 pos, ShipModel_BattleResult model) { BtlCut_ResultShip btlCut_ResultShip = Object.Instantiate <BtlCut_ResultShip>(prefab); btlCut_ResultShip.get_transform().set_parent(parent); btlCut_ResultShip.get_transform().set_localPosition(pos); btlCut_ResultShip.get_transform().localScaleOne(); return(btlCut_ResultShip.VitualCtor(model)); }
public static BtlCut_ResultShip Instantiate(BtlCut_ResultShip prefab, Transform parent, Vector3 pos, ShipModel_BattleResult model) { BtlCut_ResultShip btlCut_ResultShip = UnityEngine.Object.Instantiate(prefab); btlCut_ResultShip.transform.parent = parent; btlCut_ResultShip.transform.localPosition = pos; btlCut_ResultShip.transform.localScaleOne(); return(btlCut_ResultShip.VitualCtor(model)); }