mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-07 03:06: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) {
|
public static Material GetMaterial (this Attachment a) {
|
||||||
object rendererObject = null;
|
object rendererObject = null;
|
||||||
var renderableAttachment = a as IHasRendererObject;
|
var renderableAttachment = a as IHasRendererObject;
|
||||||
if (renderableAttachment != null) {
|
if (renderableAttachment != null)
|
||||||
rendererObject = renderableAttachment.RendererObject;
|
rendererObject = renderableAttachment.RendererObject;
|
||||||
}
|
|
||||||
|
|
||||||
if (rendererObject == null)
|
if (rendererObject == null)
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user