TA/Unity

타일 프로퍼티 숨기기 / 프로퍼티 이름달기

프리랜서 디자이너 2020. 7. 7. 11:38

타일 프로퍼티 숨기기

[NoScaleOffset]

 

프로퍼티 이름달기

[Header(Name)]

 

 

https://docs.unity3d.com/kr/current/Manual/SL-Properties.html

 

  • [HideInInspector] - does not show the property value in the material inspector.
  • [NoScaleOffset] - material inspector will not show texture tiling/offset fields for texture properties with this attribute.
  • [Normal] - indicates that a texture property expects a normal-map.
  • [HDR] - indicates that a texture property expects a high-dynamic range (HDR) texture.
  • [Gamma] - indicates that a float/vector property is specified as sRGB value in the UI (just like colors are), and possibly needs conversion according to color space used. See Properties in Shader Programs.
  • [PerRendererData] - indicates that a texture property will be coming from per-renderer data in the form of a MaterialPropertyBlock. Material inspector changes the texture slot UI for these properties.