From 3ad01929125124f06e897398157fac8f21a7e844 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Thu, 5 May 2022 18:04:47 +0200 Subject: [PATCH] [unity] Quick fix of last commit was incorrect, sorry, fixed for real now. --- .../Spine/Editor/spine-unity/Editor/Utility/Preferences.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/Preferences.cs b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/Preferences.cs index 4f2548aa9..ce232ed51 100644 --- a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/Preferences.cs +++ b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/Preferences.cs @@ -104,8 +104,8 @@ namespace Spine.Unity.Editor { const string DEFAULT_SHADER_KEY = "SPINE_DEFAULT_SHADER"; public static string defaultShader = SpinePreferences.DEFAULT_DEFAULT_SHADER; - public string DefaultShader { - get { return !string.IsNullOrEmpty(defaultShader) ? defaultShader : DEFAULT_DEFAULT_SHADER; } + public static string DefaultShader { + get { return !string.IsNullOrEmpty(defaultShader) ? defaultShader : SpinePreferences.DEFAULT_DEFAULT_SHADER; } set { defaultShader = value; } }