Search Unity

Feedback Removing "public" API ...

Discussion in 'Shader Graph' started by laurentlavigne, Jan 18, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
  2. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    SG api's that are consumed by HDRP/URP should obviously be public by most standards. Unity has a number of internal reasons around what is internal/public that don't really align with good practices. I've run into various forms of this before. Another is making stuff internal because 'it's in preview it might change'. It all mostly comes down to making their life easier in some way.

    I don't think they really understand how this has played out for end users. The unintended consequences are often worse then the desired result, at least on the end user side. Ask most anyone who actually uses some of their lesser known/documented api's and I think most would agree having access is preferable to not regardless of whether it's documented or subject to change.
     
    Camarent and slime73 like this.