mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[unity] Removed 2 of 3 warnings in Unity 2019.1. See #1336.
This commit is contained in:
parent
14a98545a1
commit
ee3655f4d3
@ -681,7 +681,7 @@ public class SpineSpriteShaderGUI : ShaderGUI {
|
||||
if (emission && !mixedValue) {
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
#if UNITY_2018
|
||||
#if UNITY_2018_1_OR_NEWER
|
||||
_materialEditor.TexturePropertyWithHDRColor(_emissionText, _emissionMap, _emissionColor, true);
|
||||
#else
|
||||
_materialEditor.TexturePropertyWithHDRColor(_emissionText, _emissionMap, _emissionColor, new ColorPickerHDRConfig(0, 1, 0.01010101f, 3), true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user