mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 08:18:51 -05:00
Add: Sample LabelText for list fields
This commit is contained in:
parent
2f1e668c9c
commit
ae98f77017
@ -1085,6 +1085,12 @@ MonoBehaviour:
|
||||
foo: 0
|
||||
bar: {x: 0, y: 0, z: 0}
|
||||
baz: {fileID: 0}
|
||||
fooList:
|
||||
- 0
|
||||
barList:
|
||||
- {x: 0, y: 0, z: 0}
|
||||
bazList:
|
||||
- {fileID: 0}
|
||||
--- !u!1 &801201066
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1,3 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Alchemy.Inspector;
|
||||
|
||||
@ -8,5 +9,9 @@ namespace Alchemy.Samples
|
||||
[LabelText("FOO!")] public float foo;
|
||||
[LabelText("BAR!")] public Vector3 bar;
|
||||
[LabelText("BAZ!")] public GameObject baz;
|
||||
|
||||
[LabelText("FOO LIST!")] public List<float> fooList;
|
||||
[LabelText("BAR LIST!")] public List<Vector3> barList;
|
||||
[LabelText("BAZ LIST!")] public List<GameObject> bazList;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user