示例#1
0
        public Window CreateTextWindow(string title, string text)
        {
            TextWindow textWindow = Instantiate(textWindowPrefab);

            textWindow.Text.text = text;

            return(CreateWindow(title, textWindow.GetComponent <RectTransform>(), true));
        }