Label
[Label]
attribute used changing deafult label of property.
Support Types
Any fields
Parameters
Parameter Name | Description |
---|---|
Name |
New name of property |
Examples
[Label("Custom Label")]
public int value;
Note
Make sure that you have added ApexInspector namespace in your script, to get access to all attributes.
using ApexInspector;
Demo
using ApexInspector;
using UnityEngine;
public class ExampleComponent : MonoBehaviour
{
[Label("Custom Label")]
public int value;
}
Static demo