Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

4.x PolyShape at Runtime

Discussion in 'World Building' started by PassivePicasso, Nov 25, 2018.

  1. PassivePicasso

    PassivePicasso

    Joined:
    Sep 17, 2012
    Posts:
    100
    EDIT: This isn't necessary, the PolyShape editor code has no impact on the runtime utility of the method this is all based upon: CreateShapeFromPolygon

    It looks like in the current 4.x API PolyShape is private
    I wanted to look at using PolyShapes as a base for a simple parametric prefab system, and while I can modify the ProBuilder source to allow me to do so, I'd rather not.

    Additionaly PolyShape's actual functionality is seems to be based in the editor, so a lot of work would need to be done in order to actually make this work at runtime.
     
    Last edited: Nov 25, 2018