diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/SkeletonGraphicMirror.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/SkeletonGraphicMirror.cs index 8fa89962b..dae92d141 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/SkeletonGraphicMirror.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Modules/SkeletonGraphic/SkeletonGraphicMirror.cs @@ -1,4 +1,4 @@ -/****************************************************************************** +/****************************************************************************** * Spine Runtimes Software License v2.5 * * Copyright (c) 2013-2016, Esoteric Software @@ -49,7 +49,8 @@ namespace Spine.Unity.Modules { } void Start () { - if (mirrorOnStart) StartMirroring(); + if (mirrorOnStart) + StartMirroring(); } void LateUpdate () { @@ -57,13 +58,16 @@ namespace Spine.Unity.Modules { } void OnDisable () { - if (restoreOnDisable) RestoreIndependentSkeleton(); + if (restoreOnDisable) + RestoreIndependentSkeleton(); } /// Freeze the SkeletonGraphic on this GameObject, and use the source as the Skeleton to be rendered by the SkeletonGraphic. public void StartMirroring () { - if (source == null) return; - if (skeletonGraphic == null) return; + if (source == null) + return; + if (skeletonGraphic == null) + return; skeletonGraphic.startingAnimation = string.Empty;