public static ProdShortRewardGet Instantiate(ProdShortRewardGet prefab, Transform parent, List <IReward> rewards) { ProdShortRewardGet prodShortRewardGet = UnityEngine.Object.Instantiate(prefab); prodShortRewardGet.transform.parent = parent; prodShortRewardGet.transform.localScaleOne(); prodShortRewardGet.transform.localPositionZero(); return(prodShortRewardGet.VirtualCtor(rewards)); }
public static ProdShortRewardGet Instantiate(ProdShortRewardGet prefab, Transform parent, List <IReward> rewards) { ProdShortRewardGet prodShortRewardGet = Object.Instantiate <ProdShortRewardGet>(prefab); prodShortRewardGet.get_transform().set_parent(parent); prodShortRewardGet.get_transform().localScaleOne(); prodShortRewardGet.get_transform().localPositionZero(); return(prodShortRewardGet.VirtualCtor(rewards)); }