mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Quick fix of last commit was incorrect, sorry, fixed for real now.
This commit is contained in:
parent
f63dd6027e
commit
3ad0192912
@ -104,8 +104,8 @@ namespace Spine.Unity.Editor {
|
|||||||
|
|
||||||
const string DEFAULT_SHADER_KEY = "SPINE_DEFAULT_SHADER";
|
const string DEFAULT_SHADER_KEY = "SPINE_DEFAULT_SHADER";
|
||||||
public static string defaultShader = SpinePreferences.DEFAULT_DEFAULT_SHADER;
|
public static string defaultShader = SpinePreferences.DEFAULT_DEFAULT_SHADER;
|
||||||
public string DefaultShader {
|
public static string DefaultShader {
|
||||||
get { return !string.IsNullOrEmpty(defaultShader) ? defaultShader : DEFAULT_DEFAULT_SHADER; }
|
get { return !string.IsNullOrEmpty(defaultShader) ? defaultShader : SpinePreferences.DEFAULT_DEFAULT_SHADER; }
|
||||||
set { defaultShader = value; }
|
set { defaultShader = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user