update UIElements
This commit is contained in:
@@ -89,6 +89,16 @@ namespace YooAsset.Editor
|
||||
this.Add(_listView);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设置标题
|
||||
/// </summary>
|
||||
public void SetHeaderTitle(string elementName, string headerTitle)
|
||||
{
|
||||
var toolbarBtn = _toolbar.Q<ToolbarButton>(elementName);
|
||||
if (toolbarBtn != null)
|
||||
toolbarBtn.text = headerTitle;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加单元列
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user