Group
[Group]
attribute used for layout properties in group.
Support Types
Any types.
Parameters
Parameter Name | Description |
---|---|
Title |
Title of group |
Examples
[Group("Some Title")]
public float value1;
[Group("Some Title")]
public float value2;
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
{
[Group("Values")]
public int value1;
[Group("Values")]
public float value2;
[Group("Values")]
public string value3;
}
Static demo