public static ProdSupportAerialPhase1 Instantiate(ProdSupportAerialPhase1 prefab, ShienModel_Air model, Transform parent, Dictionary <int, UIBattleShip> fShips, Dictionary <int, UIBattleShip> eShips) { ProdSupportAerialPhase1 prodSupportAerialPhase = Object.Instantiate <ProdSupportAerialPhase1>(prefab); prodSupportAerialPhase.get_transform().set_parent(parent); prodSupportAerialPhase.get_transform().set_localPosition(Vector3.get_zero()); prodSupportAerialPhase.get_transform().set_localScale(Vector3.get_one()); prodSupportAerialPhase._clsAerial = model; prodSupportAerialPhase._fBattleship = fShips; prodSupportAerialPhase._eBattleship = eShips; prodSupportAerialPhase._init(); return(prodSupportAerialPhase); }
public static ProdSupportAerialPhase1 Instantiate(ProdSupportAerialPhase1 prefab, ShienModel_Air model, Transform parent, Dictionary <int, UIBattleShip> fShips, Dictionary <int, UIBattleShip> eShips) { ProdSupportAerialPhase1 prodSupportAerialPhase = UnityEngine.Object.Instantiate(prefab); prodSupportAerialPhase.transform.parent = parent; prodSupportAerialPhase.transform.localPosition = Vector3.zero; prodSupportAerialPhase.transform.localScale = Vector3.one; prodSupportAerialPhase._clsAerial = model; prodSupportAerialPhase._fBattleship = fShips; prodSupportAerialPhase._eBattleship = eShips; prodSupportAerialPhase._init(); return(prodSupportAerialPhase); }