mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-16 21:08:28 +00:00
fix NRE
This commit is contained in:
parent
1ee1e01414
commit
fa933411d0
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ namespace SanAndreasUnity.UI {
|
|||
this.OnWindowGUIBeforeContent();
|
||||
|
||||
if (this.useScrollView)
|
||||
this.scrollPos = GUILayout.BeginScrollView(this.scrollPos, m_scrollViewStyle);
|
||||
this.scrollPos = GUILayout.BeginScrollView(this.scrollPos, m_scrollViewStyle ?? GUI.skin.scrollView);
|
||||
|
||||
this.OnWindowGUI();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue