Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

ProBuilderShape private

Discussion in 'World Building' started by michiel98, Mar 30, 2022.

  1. michiel98

    michiel98

    Joined:
    Apr 20, 2021
    Posts:
    3
    Unity 2020.3.30f1. ProBuilder 5.0.4.

    Hi,

    For a project, I need access to some basic information about a primitive probuilder shape at runtime. I noticed there is a ProBuilderShape script that has all the information I need but this script is not marked public.
    The location of the ProBuilderShape script is at "/Packages/Probuilder/Runtime/Shapes/ProBuilderShape.cs"

    Is there a reason why this is a private sealed class and not public?
    Is there a way to change this script's access modifier to public?
     
    Transiberiano likes this.