You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**CompositeLayoutRuleData** provides a way to transparently manage multiple `LayoutRuleData` assets, integrating and applying their layout rules as a single unit. When you apply a `CompositeLayoutRuleData` asset, all the layout rules from its configured `LayoutRuleData` assets are combined and applied together.
778
+
779
+
### How to Use
780
+
781
+
To create a `CompositeLayoutRuleData` asset, go to the Unity Editor menu and select **Assets > Create > Smart Addresser > Composite Layout Rule Data**.
782
+
783
+
Once created, open the `CompositeLayoutRuleData` asset in the Inspector view. Here, you can configure the `Layout Rules` list by adding the `LayoutRuleData` assets you wish to integrate.
784
+
785
+
To apply all the configured layout rules, simply click the **Apply** button at the top of the Inspector view. You can also set a `CompositeLayoutRuleData` asset as the `PrimaryData`, just like a regular `LayoutRuleData` asset.
786
+
787
+
### Validation
788
+
789
+
Validation can only be performed on individual `LayoutRuleData` assets. The `CompositeLayoutRuleData` itself does not detect conflicts or contradictions between multiple `LayoutRuleData` assets configured within it.
790
+
791
+
Validation result files will be suffixed based on the index of the `LayoutRuleData` within the `CompositeLayoutRuleData`, for example: `[filename]_0.json`, `[filename]_1.json`, and so on.
792
+
772
793
## License
773
794
This software is released under the MIT license.
774
795
You are free to use it within the scope of the license, but the following copyright and license notices are required.
0 commit comments