Graphics, Programming, Unity, Tutorial, Technology.
second is the current value. Unity stored the current value in the material’s “_SurfaceType” property. However we can’t just read it directly if we want to support serialization, undo, shader variants, and other editor features. First, Unity encapsulates a property inside a MaterialProperty class.