Added custom inspector for VolumeObject; Change the name of AoVolume to VolumeObject;
11 lines
887 B
Plaintext
11 lines
887 B
Plaintext
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
|
<engine:VisualElement data-source-type="Misaki.AoVolume.VolumeObject, Misaki.AoVolume" style="flex-grow: 1;">
|
|
<editor:PropertyField binding-path="dynamicVolume" label="Dynamic Volume" />
|
|
<editor:PropertyField binding-path="data.size" label="Size" />
|
|
<editor:PropertyField binding-path="data.intensity" label="Intensity" />
|
|
<editor:PropertyField binding-path="data.falloff" label="IntensityFalloff" />
|
|
<editor:PropertyField binding-path="data.normalFalloff" label="NormalFalloff" />
|
|
<engine:Button text="Force Update" name="force-update-button" />
|
|
</engine:VisualElement>
|
|
</engine:UXML>
|