Ejemplo n.º 1
0
        public static ProdAdvancingWithDrawalDC Instantiate(ProdAdvancingWithDrawalDC prefab, Transform parent, Generics.BattleRootType iType)
        {
            ProdAdvancingWithDrawalDC prodAdvancingWithDrawalDC = Object.Instantiate <ProdAdvancingWithDrawalDC>(prefab);

            prodAdvancingWithDrawalDC.get_transform().set_parent(parent);
            prodAdvancingWithDrawalDC.get_transform().localScaleZero();
            prodAdvancingWithDrawalDC.get_transform().localPositionZero();
            prodAdvancingWithDrawalDC.Init(iType);
            return(prodAdvancingWithDrawalDC);
        }
        public static ProdAdvancingWithDrawalDC Instantiate(ProdAdvancingWithDrawalDC prefab, Transform parent, Generics.BattleRootType iType)
        {
            ProdAdvancingWithDrawalDC prodAdvancingWithDrawalDC = UnityEngine.Object.Instantiate(prefab);

            prodAdvancingWithDrawalDC.transform.parent = parent;
            prodAdvancingWithDrawalDC.transform.localScaleZero();
            prodAdvancingWithDrawalDC.transform.localPositionZero();
            prodAdvancingWithDrawalDC.Init(iType);
            return(prodAdvancingWithDrawalDC);
        }