[unity] Use IHasRendererObject

This commit is contained in:
pharan 2018-01-18 00:47:08 +08:00
parent d97c80df7d
commit da3f84b38c
2 changed files with 2 additions and 2 deletions

View File

@ -623,7 +623,7 @@ namespace Spine.Unity.Modules.AttachmentTools {
} }
static bool IsRenderable (Attachment a) { static bool IsRenderable (Attachment a) {
return a is RegionAttachment || a is MeshAttachment; return a is IHasRendererObject;
} }
/// <summary> /// <summary>

View File

@ -294,7 +294,7 @@ namespace Spine {
} }
public static bool IsRenderable (this Attachment a) { public static bool IsRenderable (this Attachment a) {
return a is RegionAttachment || a is MeshAttachment; return a is IHasRendererObject;
} }
#region Transform Modes #region Transform Modes