예제 #1
0
        public static ProdFormationSelect Instantiate(ProdFormationSelect prefab, Transform parent, DeckModel model)
        {
            ProdFormationSelect prodFormationSelect = Object.Instantiate <ProdFormationSelect>(prefab);

            prodFormationSelect.get_transform().set_parent(parent);
            prodFormationSelect.get_transform().localScaleOne();
            prodFormationSelect.get_transform().localPositionZero();
            prodFormationSelect.Init(model);
            return(prodFormationSelect);
        }
예제 #2
0
        public static ProdFormationSelect Instantiate(ProdFormationSelect prefab, Transform parent, DeckModel model)
        {
            ProdFormationSelect prodFormationSelect = UnityEngine.Object.Instantiate(prefab);

            prodFormationSelect.transform.parent = parent;
            prodFormationSelect.transform.localScaleOne();
            prodFormationSelect.transform.localPositionZero();
            prodFormationSelect.Init(model);
            return(prodFormationSelect);
        }