Clip保存与读取
This commit is contained in:
@@ -12,5 +12,14 @@ namespace Ichni.Editor
|
||||
public RectTransform windowRect;
|
||||
public Button closeButton;
|
||||
public TMP_Text title;
|
||||
|
||||
protected void InitializeWindow(string titleText)
|
||||
{
|
||||
title.text = titleText;
|
||||
closeButton.onClick.AddListener(() =>
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user