Multiple group attributes / Groups within Groups. Old title: BoxGroup in BoxGroup
Issue #101
resolved
I can't seem to create a BoxGroup in another BoxGroup as it says "Duplicate BoxGroup attribute". Is it possible to achieve this?
Comments (6)
-
-
-
- changed status to open
-
reporter Nice. Thanks for the simple hack!
-
This feature has been added in the next patch, and is done using group paths:
public class MyComponent : MonoBehaviour { public int A; [BoxGroup("WrappedGroup")] public int B; [BoxGroup("WrappedGroup/MyGroup")] public int C; [BoxGroup("WrappedGroup/MyGroup")] public int D; [BoxGroup("WrappedGroup")] public int E; public int F; }
-
- changed status to resolved
- Log in to comment
Hi Alwin,
Currently it is only possible to assign one group attribute per property unfortunately.
But it is still is still possible to the same result with a little more effort: