mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
[untiy] Fixed a compile error when building executable (Texture2D.alphaIsTransparency exists only in editor).
This commit is contained in:
parent
b1c1dac17a
commit
19bbd5519f
@ -580,7 +580,9 @@ namespace Spine.Unity.AttachmentTools {
|
||||
static void CopyTextureAttributesFrom(this Texture2D destination, Texture2D source) {
|
||||
destination.filterMode = source.filterMode;
|
||||
destination.anisoLevel = source.anisoLevel;
|
||||
#if UNITY_EDITOR
|
||||
destination.alphaIsTransparency = source.alphaIsTransparency;
|
||||
#endif
|
||||
destination.wrapModeU = source.wrapModeU;
|
||||
destination.wrapModeV = source.wrapModeV;
|
||||
destination.wrapModeW = source.wrapModeW;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user