UTKIntPropertyItemView 수정중

This commit is contained in:
logonkhi
2026-02-05 19:12:16 +09:00
parent c9af0d2d6f
commit acd430c5d7
5 changed files with 218 additions and 14 deletions

View File

@@ -114,9 +114,20 @@ namespace UVC.Sample.UIToolkit
entries.Add(new UTKIntPropertyItem("int", "Int", 42, 0, 100, true));
// Int (읽기 전용)
var roInt = new UTKIntPropertyItem("int_ro", "Int (RO)", 99, 0, 100, true);
roInt.IsReadOnly = true;
var roInt = new UTKIntPropertyItem("int_ro", "Int (RO)", 99, 0, 100, true, isReadOnly: true);
entries.Add(roInt);
// Int stepper (편집 가능)
entries.Add(new UTKIntPropertyItem("int2", "Int2", 42, 0, 100, false, true));
// Int stepper (읽기 전용)
entries.Add(new UTKIntPropertyItem("int2_ro", "Int2 (RO)", 99, 0, 100, false, true, isReadOnly: true));
// Int stepper (편집 가능)
entries.Add(new UTKIntPropertyItem("int3", "Int3", 42, 0, 100, true, true));
// Int stepper (읽기 전용)
entries.Add(new UTKIntPropertyItem("int3_ro", "Int3 (RO)", 99, 0, 100, true, true, isReadOnly: true));
// Float (편집 가능)
entries.Add(new UTKFloatPropertyItem("float", "Float", 3.14f, 0f, 10f, true));