mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
[unity] Use IHasRendererObject
This commit is contained in:
parent
d97c80df7d
commit
da3f84b38c
@ -623,7 +623,7 @@ namespace Spine.Unity.Modules.AttachmentTools {
|
||||
}
|
||||
|
||||
static bool IsRenderable (Attachment a) {
|
||||
return a is RegionAttachment || a is MeshAttachment;
|
||||
return a is IHasRendererObject;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -294,7 +294,7 @@ namespace Spine {
|
||||
}
|
||||
|
||||
public static bool IsRenderable (this Attachment a) {
|
||||
return a is RegionAttachment || a is MeshAttachment;
|
||||
return a is IHasRendererObject;
|
||||
}
|
||||
|
||||
#region Transform Modes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user