Search the Community
Showing results for tags 'selected'.
Found 2 results
Hello, I am new to Probuilder and I am struggling on -I guess- a small problem. How can I check what is the selected mode (Object, Vertex, Edge, Face) ? I would like to have a switch case to deal with each mode. Also, do you know how to set the mode to one particular element (other than through pressing shortcut keys or clicking on the toolbar) by scripting ? I have found "SelectMode" but I dont know how to modify or check it. Thank you
- Windows 10 x64 - Unity 5.2.2f1 Personal - ProBuilder 2.4.8f1 When I try to export a big Merged Mesh (ProBuilder Objects), I have this error in the console : ArgumentException: An element with the same key already exists in the dictionary. System.Collections.Generic.Dictionary`2[System.String,ObjMaterial].Add (System.String key, ObjMaterial value) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:404) EditorObjExporter.MeshToString (UnityEngine.MeshFilter mf, System.Collections.Generic.Dictionary`2 materialList) EditorObjExporter.MeshToFile (UnityEngine.MeshFilter mf, System.String path) ProBuilder2.EditorCommon.pb_Editor_Utility.ExportOBJ (.pb_Object pb) ProBuilder2.Actions.pb_ExportObj.ExportOBJ () (at Assets/ProCore/ProBuilder/Editor/MenuItems/Actions/pb_ExportObj.cs:24) When I try to export all the non merged pb meshs, I have the exact same error but a clone gameobject appears :