mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[unity] Minor formatting.
This commit is contained in:
parent
6187e2b89e
commit
9f031f8999
@ -194,9 +194,8 @@ namespace Spine.Unity {
|
||||
public static Material GetMaterial (this Attachment a) {
|
||||
object rendererObject = null;
|
||||
var renderableAttachment = a as IHasRendererObject;
|
||||
if (renderableAttachment != null) {
|
||||
rendererObject = renderableAttachment.RendererObject;
|
||||
}
|
||||
if (renderableAttachment != null)
|
||||
rendererObject = renderableAttachment.RendererObject;
|
||||
|
||||
if (rendererObject == null)
|
||||
return null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user