Example #1
0
        public static void BuildObjects(CreateObjectModel[] objects)
        {
            ObjectsBuilderWindow window = GetWindow <ObjectsBuilderWindow>(true, "Building objects", true);

            window.minSize = new Vector2(350, 110);
            window.Show();
            window.RunBuildObjects(objects);
        }
Example #2
0
        public static void BuildOnlyZip(VarwinObjectDescriptor varwinObj)
        {
            ObjectsBuilderWindow window =
                GetWindow <ObjectsBuilderWindow>(true, "Building VWO for " + varwinObj.Name, true);

            window.minSize = new Vector2(350, 110);
            window.Show();
            window.BuildOnlyZip(new ObjectBuildDescription(varwinObj));
        }
Example #3
0
        public static void BuildVarwinObject(VarwinObjectDescriptor varwinObj)
        {
            ObjectsBuilderWindow window =
                GetWindow <ObjectsBuilderWindow>(true, "Building object: " + varwinObj.Name, true);

            window.minSize = new Vector2(350, 110);
            window.Show();
            window.RunBuildVarwinObject(varwinObj);
        }
Example #4
0
        public static void BuildAll()
        {
            if (!EditorUtility.DisplayDialog("Confirm Build All Objects",
                                             "Building all objects might take some time, do you want to proceed?",
                                             "Yes",
                                             "Cancel"))
            {
                return;
            }

            ObjectsBuilderWindow window = GetWindow <ObjectsBuilderWindow>(true, "Building all objects", true);

            window.minSize = new Vector2(350, 110);
            window.Show();
            window.RunBuildAllObjects();
        }