update UIElements

This commit is contained in:
何冠峰
2025-01-20 17:13:20 +08:00
parent 5e2fc84ebf
commit 7c435f6dc0
4 changed files with 68 additions and 2 deletions
@@ -34,16 +34,21 @@ namespace YooAsset.Editor
var cell = new StringValueCell(headerTitle, value);
Cells.Add(cell);
}
public void AddIntegerValueCell(string headerTitle, long value)
public void AddLongValueCell(string headerTitle, long value)
{
var cell = new IntegerValueCell(headerTitle, value);
Cells.Add(cell);
}
public void AddSingleValueCell(string headerTitle, double value)
public void AddDoubleValueCell(string headerTitle, double value)
{
var cell = new SingleValueCell(headerTitle, value);
Cells.Add(cell);
}
public void AddBoolValueCell(string headerTitle, bool value)
{
var cell = new BooleanValueCell(headerTitle, value);
Cells.Add(cell);
}
#endregion
}
}