UTKIntPropertyItemView 수정중
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user