Jump to content

Search the Community

Showing results for tags 'scripting'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Introduce Yourself
    • Showcase and WIP
  • ProBuilder
    • General Discussion
    • Bug Reports
    • Feature Requests
    • Extensions
    • Tutorial Requests
    • ProBuilder Contests
    • ProBuilderVR
  • Polybrush
    • Feature Requests
    • General Discussion
  • ProCore Utility Tools
    • ProGrids
    • ProGroups
    • QuickBrush
    • QuickEdit
    • QuickDecals
  • GILES (Generic In-Game Level Editing System)
    • Feature Requests
    • General Discussion

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 2 results

  1. So I'm working on making a runtime mesh editor and I'm trying to use the built in tools to show the vertices, edges and faces but I'm having a bit of trouble working with the API. After way too much digging I found the pb_ElementGraphics class which seemed to do what I want, along with a forum post about how to use it: I tried to do what was specified in the forum post but I couldn't get it to work. It seems as though the code has changed quite a bit since this post was made because the function used, pb_ElementGraphics.instance.BuildVertexMesh(), no longer works. I tried using pb_ElementGraphics.RebuildGraphics() but I can't figure out how to get that pb_Edge[][] distinct edge array, and even if I did I suspect I'm using this function incorrectly. The documentation is really unhelpful when it comes to topics like this, can somebody please explain to me how the pb_ElementGraphics class is used, and/or how I would go about displaying the vertex, edge, and face handles in runtime?
  2. Hi All, I'm looking into using procedural generation to make levels and objects, and wanted to know if there's a ProBuilder scripting API for this? My specific goal is to have a script spawn and place boxes of different sizes around the scene. I know how to do this with the default Unity cubes, by just using GameObject.CreatePrimitive(PrimitiveType.Cube); And then changing its position and scale. However, I'd like to do it with ProBuilder cubes, so that I can edit them by hand. Also, I'd like to not use scale, but use the extrude face function, for having cubes of different sizes. Any help would be greatly appreciated. Thank you! - Willy