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