public static ProdAdvancingWithDrawalSelect Instantiate(ProdAdvancingWithDrawalSelect prefab, Transform parent, Generics.BattleRootType iType)
        {
            ProdAdvancingWithDrawalSelect prodAdvancingWithDrawalSelect = UnityEngine.Object.Instantiate(prefab);

            prodAdvancingWithDrawalSelect.transform.parent = parent;
            prodAdvancingWithDrawalSelect.transform.localScaleZero();
            prodAdvancingWithDrawalSelect.transform.localPositionZero();
            prodAdvancingWithDrawalSelect._iRootType = iType;
            prodAdvancingWithDrawalSelect.Init();
            return(prodAdvancingWithDrawalSelect);
        }
Ejemplo n.º 2
0
        public static ProdAdvancingWithDrawalSelect Instantiate(ProdAdvancingWithDrawalSelect prefab, Transform parent, Generics.BattleRootType iType)
        {
            ProdAdvancingWithDrawalSelect prodAdvancingWithDrawalSelect = Object.Instantiate <ProdAdvancingWithDrawalSelect>(prefab);

            prodAdvancingWithDrawalSelect.get_transform().set_parent(parent);
            prodAdvancingWithDrawalSelect.get_transform().localScaleZero();
            prodAdvancingWithDrawalSelect.get_transform().localPositionZero();
            prodAdvancingWithDrawalSelect._iRootType = iType;
            prodAdvancingWithDrawalSelect.Init();
            return(prodAdvancingWithDrawalSelect);
        }