示例#1
0
        public static void AddInputField(MenuCommand menuCommand)
        {
            GameObject go;

            using (new FactorySwapToEditor())
                go = DefaultControls.CreateInputField(GetStandardResources());
            PlaceUIElementRoot(go, menuCommand);
        }
示例#2
0
        public static void AddInputField(MenuCommand menuCommand)
        {
            GameObject go = DefaultControls.CreateInputField(GetStandardResources());

            PlaceUIElementRoot(go, menuCommand);

            SetDefaultTxt(go);
        }
示例#3
0
 public static void AddInputField(MenuCommand menuCommand)
 {
     MenuOptions.PlaceUIElementRoot(DefaultControls.CreateInputField(MenuOptions.GetStandardResources()), menuCommand);
 }