public static ProdTorpedoCutIn Instantiate(ProdTorpedoCutIn prefab, RaigekiModel model, Transform parent) { ProdTorpedoCutIn prodTorpedoCutIn = Object.Instantiate <ProdTorpedoCutIn>(prefab); prodTorpedoCutIn.get_transform().set_parent(parent); prodTorpedoCutIn.get_transform().set_localPosition(Vector3.get_zero()); prodTorpedoCutIn.get_transform().set_localScale(Vector3.get_one()); prodTorpedoCutIn._clsRaigeki = model; prodTorpedoCutIn.init(); prodTorpedoCutIn.setShipInfo(); return(prodTorpedoCutIn); }
public static ProdTorpedoCutIn Instantiate(ProdTorpedoCutIn prefab, RaigekiModel model, Transform parent) { ProdTorpedoCutIn prodTorpedoCutIn = UnityEngine.Object.Instantiate(prefab); prodTorpedoCutIn.transform.parent = parent; prodTorpedoCutIn.transform.localPosition = Vector3.zero; prodTorpedoCutIn.transform.localScale = Vector3.one; prodTorpedoCutIn._clsRaigeki = model; prodTorpedoCutIn.init(); prodTorpedoCutIn.setShipInfo(); return(prodTorpedoCutIn); }