Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

ProBuilder Manual UV API access?

Discussion in 'World Building' started by duzbot, Sep 20, 2022.

  1. duzbot


    Aug 31, 2017
    I'm trying to generate UVs at runtime - I want to be able to access the same controls provided in the editor interface.

    I can see there is a class within MeshOperations
    Code (CSharp):
    1. static partial class UVEditing
    Within that there is a BoxProject method amongst other members that i would really like to use at runtime!

    At the moment the current UV runtime API isn't useful for my particular needs, and I am getting undesirable UV unwrapping .

    Why is that not available in the API? At the moment I get a warning ' inaccessible due to its protection level'
    Last edited: Sep 20, 2022