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

This commit is contained in:
Harald Csaszar 2022-05-05 18:04:47 +02:00
parent f63dd6027e
commit 3ad0192912

View File

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