From 4e730f020951afdd01b3f9dd4f24a3b0857e93dd Mon Sep 17 00:00:00 2001 From: John Date: Tue, 3 May 2016 21:37:15 +0800 Subject: [PATCH] Spine.Unity namespace. --- .../Assets/spine-unity/ISkeletonAnimation.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/spine-unity/Assets/spine-unity/ISkeletonAnimation.cs b/spine-unity/Assets/spine-unity/ISkeletonAnimation.cs index 2d53eb670..fddac4897 100644 --- a/spine-unity/Assets/spine-unity/ISkeletonAnimation.cs +++ b/spine-unity/Assets/spine-unity/ISkeletonAnimation.cs @@ -28,17 +28,16 @@ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ - using UnityEngine; -using System.Collections; -using Spine; -public delegate void UpdateBonesDelegate (ISkeletonAnimation skeletonRenderer); -public interface ISkeletonAnimation { - event UpdateBonesDelegate UpdateLocal; - event UpdateBonesDelegate UpdateWorld; - event UpdateBonesDelegate UpdateComplete; +namespace Spine.Unity { + public delegate void UpdateBonesDelegate (ISkeletonAnimation skeletonRenderer); + public interface ISkeletonAnimation { + event UpdateBonesDelegate UpdateLocal; + event UpdateBonesDelegate UpdateWorld; + event UpdateBonesDelegate UpdateComplete; - void LateUpdate (); - Skeleton Skeleton { get; } + void LateUpdate (); + Skeleton Skeleton { get; } + } }