Exemple #1
0
        public static ProdMailstrom Instantiate(ProdMailstrom prefab, Transform parent, MapEventHappeningModel eventHappeningModel)
        {
            ProdMailstrom prodMailstrom = Object.Instantiate <ProdMailstrom>(prefab);

            prodMailstrom.get_transform().set_parent(parent);
            prodMailstrom.get_transform().localScaleOne();
            prodMailstrom.get_transform().localPositionZero();
            prodMailstrom.Init(eventHappeningModel);
            return(prodMailstrom);
        }
        public static ProdMailstrom Instantiate(ProdMailstrom prefab, Transform parent, MapEventHappeningModel eventHappeningModel)
        {
            ProdMailstrom prodMailstrom = UnityEngine.Object.Instantiate(prefab);

            prodMailstrom.transform.parent = parent;
            prodMailstrom.transform.localScaleOne();
            prodMailstrom.transform.localPositionZero();
            prodMailstrom.Init(eventHappeningModel);
            return(prodMailstrom);
        }