소스 검색

[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; }
 			}