Unity学习笔记(4) --- Unity的界面排版:初识GUI GUI和GUILayout是Unity提供的UIKit。在使用GUI的Controls时都要求设置Rect參数。没办法做到自己主动排版,给适配带来难度。而GUILayout的设计就是为了弥补这个缺陷,GUILayout是在GUI的基础之上复合了一套Layout的排版逻辑。GUIclass in UnityEngineDescriptionThe GUI class is the interface for Unity's GUI with manual positioning.See Also: GUI tutorial.Static VariablesbackgroundColorGlobal tinting color for all background elements rendered by the GUI.changedReturns true if any controls changed the value of