Ejemplo n.º 1
0
        public static ProdCloud Instantiate(ProdCloud prefab, Transform parent)
        {
            ProdCloud prodCloud = UnityEngine.Object.Instantiate(prefab);

            prodCloud.transform.parent = parent;
            prodCloud.transform.localPositionZero();
            prodCloud.transform.localScaleZero();
            prodCloud.Ctor();
            return(prodCloud);
        }
        public static ProdCloud Instantiate(ProdCloud prefab, Transform parent)
        {
            ProdCloud prodCloud = Object.Instantiate <ProdCloud>(prefab);

            prodCloud.get_transform().set_parent(parent);
            prodCloud.get_transform().localPositionZero();
            prodCloud.get_transform().localScaleZero();
            prodCloud.Ctor();
            return(prodCloud);
        }