예제 #1
0
        internal Value OnGUI()
        {
            if (!string.IsNullOrEmpty(_label))
            {
                EditorGUILayout.LabelField(_label);
            }

            using (new EditorGUI.IndentLevelScope())
            {
                _bools.OnGUI();
                _floats.OnGUI();
                _ints.OnGUI();
                _strings.OnGUI();
                _enums.OnGUI();
                _vector2s.OnGUI();
                _vector3s.OnGUI();
                _vector2Ints.OnGUI();
                _vector3Ints.OnGUI();
                _colors.OnGUI();
                _values.OnGUI();
                _arrayes.OnGUI();
            }

            return(this);
        }
예제 #2
0
 internal void OnGUI()
 {
     EditorGUILayout.LabelField("Set Params");
     _args.OnGUI();
 }