فهرست منبع

[unity] Quick fix of last commit was incorrect, sorry, fixed for real now.

Harald Csaszar 3 سال پیش
والد
کامیت
3ad0192912
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/Preferences.cs

+ 2 - 2
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; }
 			}