Beispiel #1
0
    void OnGUI()
    {
        GUILayout.Space(5F);

        GUI.backgroundColor = mBackgroundColor;
        mScroll             = EditorGUILayout.BeginScrollView(mScroll);
        GUILayout.BeginVertical("As TextArea");

        GUILayout.Space(5F);
        GUI.backgroundColor = mContentColor;
        mTextureConvert.OnGUI();
        GUILayout.Space(5F);

        GUILayout.EndVertical();
        GUILayout.EndScrollView();
    }