Low Fix
This commit is contained in:
@@ -295,7 +295,7 @@ namespace MegaKoop.EditorTools
|
||||
go.transform.SetParent(parent, false);
|
||||
var rt = (RectTransform)go.transform; rt.sizeDelta = new Vector2(600, 50);
|
||||
|
||||
var font = Resources.GetBuiltinResource<Font>("Arial.ttf");
|
||||
var font = Resources.GetBuiltinResource<Font>("LegacyRuntime.ttf");
|
||||
foreach (var t in go.GetComponentsInChildren<Text>(true)) t.font = font;
|
||||
var dd = go.GetComponent<Dropdown>();
|
||||
dd.options = (options != null ? options.Select(o => new Dropdown.OptionData(o)).ToList() : new System.Collections.Generic.List<Dropdown.OptionData>());
|
||||
|
||||
Reference in New Issue
Block a user