Ejemplo n.º 1
0
        public static CtrlTitleSelectMode Instantiate(CtrlTitleSelectMode prefab, Transform parent, Action onAnyInput)
        {
            CtrlTitleSelectMode ctrlTitleSelectMode = Object.Instantiate <CtrlTitleSelectMode>(prefab);

            ctrlTitleSelectMode.get_transform().set_parent(parent);
            ctrlTitleSelectMode.get_transform().localScaleOne();
            ctrlTitleSelectMode.get_transform().set_localPosition(ctrlTitleSelectMode._vPos);
            ctrlTitleSelectMode.Init(onAnyInput);
            return(ctrlTitleSelectMode);
        }
Ejemplo n.º 2
0
        public static CtrlTitleSelectMode Instantiate(CtrlTitleSelectMode prefab, Transform parent, Action onAnyInput)
        {
            CtrlTitleSelectMode ctrlTitleSelectMode = UnityEngine.Object.Instantiate(prefab);

            ctrlTitleSelectMode.transform.parent = parent;
            ctrlTitleSelectMode.transform.localScaleOne();
            ctrlTitleSelectMode.transform.localPosition = ctrlTitleSelectMode._vPos;
            ctrlTitleSelectMode.Init(onAnyInput);
            return(ctrlTitleSelectMode);
        }