Note inspector调整,Static Window可开关,Log可复制清空
This commit is contained in:
@@ -21,12 +21,12 @@ namespace Ichni.Editor
|
||||
dropdown.onValueChanged.AddListener((value) => ApplyParameters(dropdown.options[value].text) );
|
||||
}
|
||||
|
||||
public void SetUpStringList(List<string> stringList)
|
||||
public void SetUpStringList(List<string> originalList)
|
||||
{
|
||||
this.stringList = stringList;
|
||||
this.stringList.AddRange(originalList);
|
||||
this.stringList.Insert(0, "Please Select..."); // Add a default value "Please Select...
|
||||
dropdown.ClearOptions();
|
||||
dropdown.AddOptions(stringList);
|
||||
dropdown.AddOptions(this.stringList);
|
||||
}
|
||||
|
||||
private void ApplyParameters(string value)
|
||||
|
||||
Reference in New Issue
Block a user