public static ProdDetectionStartCutIn Instantiate(ProdDetectionStartCutIn prefab, Transform parent) { ProdDetectionStartCutIn prodDetectionStartCutIn = UnityEngine.Object.Instantiate(prefab); prodDetectionStartCutIn.transform.parent = parent; prodDetectionStartCutIn.transform.localScaleZero(); prodDetectionStartCutIn.transform.localPositionZero(); prodDetectionStartCutIn.Init(); return(prodDetectionStartCutIn); }
public static ProdDetectionStartCutIn Instantiate(ProdDetectionStartCutIn prefab, Transform parent) { ProdDetectionStartCutIn prodDetectionStartCutIn = Object.Instantiate <ProdDetectionStartCutIn>(prefab); prodDetectionStartCutIn.get_transform().set_parent(parent); prodDetectionStartCutIn.get_transform().localScaleZero(); prodDetectionStartCutIn.get_transform().localPositionZero(); prodDetectionStartCutIn.Init(); return(prodDetectionStartCutIn); }