static TurtleGUI() { horizontal = new HorizontalBlock(); vertical = new VerticalBlock(); Type tyEditorGUILayout = typeof(EditorGUILayout); gradientFieldMethod = tyEditorGUILayout.GetMethod("GradientField", BindingFlags.NonPublic | BindingFlags.Static, null, new Type[] { typeof(GUIContent), typeof(Gradient), typeof(GUILayoutOption[]) }, null); }
static TurtleGUI() { horizontal = new HorizontalBlock(); vertical = new VerticalBlock(); }