feat: add RectOffset field to Samples

This commit is contained in:
moz-moz 2024-05-02 22:58:57 +09:00
parent ac6c5e23ee
commit dff264d672
2 changed files with 6 additions and 0 deletions

View File

@ -2055,6 +2055,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 10a01c03cb52744d29a15035954b9bd2, type: 3}
m_Name:
m_EditorClassIdentifier:
qux:
m_Left: 1
m_Right: 2
m_Top: 3
m_Bottom: 4
foo: 0
bar: {x: 0, y: 0, z: 0}
baz: {fileID: 0}

View File

@ -5,6 +5,7 @@ namespace Alchemy.Samples
{
public class OrderSample : MonoBehaviour
{
[Order(3)] public RectOffset qux;
[Order(2)] public float foo;
[Order(1)] public Vector3 bar;
[Order(0)] public GameObject baz;