Hi every one, I'm working on a tool for unity and I want to make it using the "EditorWindow" class, everything it's ok, now my problem is this:
and end with this: Assets/Editor/MyWindow.js(73,79): BCE0023: No appropriate version of 'UnityEditor.EditorGUILayout.BeginScrollView' for the argument list '(UnityEngine.Vector2, UnityEngine.GUIStyle, UnityEngine.GUILayoutOption)' was found.
I read the manual and found this: static function BeginScrollView (scrollPosition : Vector2, alwaysShowHorizontal : boolean, alwaysShowVertical : boolean, horizontalScrollbar : GUIStyle, verticalScrollbar : GUIStyle, background : GUIStyle, params options : GUILayoutOption) : Vector2
I want to apply my style in the "background", how can this be possible?. Thanks for your help in advance. :-)
I found the answer to this little problem, if we use a GUISkin either the inspector or a floating window, we must use it without modifying the components already in place and just keep adding the styles that we will use, in this case values are used ScrollViewer (visible vertical, horizontal visible, style vertical bar and horizontal bar style) and only change the background style.
You can check this too, it show how it's looks.