Exemplo n.º 1
0
        public static ProdBattleCommandSelect Instantiate(ProdBattleCommandSelect prefab, Transform parent, CommandPhaseModel model)
        {
            ProdBattleCommandSelect prodBattleCommandSelect = Object.Instantiate <ProdBattleCommandSelect>(prefab);

            prodBattleCommandSelect.get_transform().set_parent(parent);
            prodBattleCommandSelect.get_transform().localScaleOne();
            prodBattleCommandSelect.get_transform().localPositionZero();
            prodBattleCommandSelect.Init(model);
            return(prodBattleCommandSelect);
        }
Exemplo n.º 2
0
        public static ProdBattleCommandSelect Instantiate(ProdBattleCommandSelect prefab, Transform parent, CommandPhaseModel model)
        {
            ProdBattleCommandSelect prodBattleCommandSelect = UnityEngine.Object.Instantiate(prefab);

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