name
Name of the property (Read Only).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public string name { get; }
Remarks
This is the variable name that is used in the shader, for example _MainTex.
Additional Resources: MaterialProperty.displayName.