From 4a8d02a144783e4bc9c5460a268d49aa8ac4fb79 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Sun, 16 Oct 2016 00:25:08 +0200 Subject: [PATCH] Cleaned up contribution comments. --- .../Getting Started/Scripts/BasicPlatformerController.cs | 7 ++----- .../Examples/Getting Started/Scripts/ConstrainedCamera.cs | 7 ++----- spine-unity/Assets/Examples/Scripts/Chimera.cs | 8 +++----- spine-unity/Assets/Examples/Scripts/FootSoldierExample.cs | 8 +++----- .../Asset Types/Editor/SkeletonDataAssetInspector.cs | 6 ++---- .../spine-unity/Editor/SkeletonAnimatorInspector.cs | 6 ++---- spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs | 7 ++----- .../Assets/spine-unity/Editor/SpineAttributeDrawers.cs | 6 ++---- .../Assets/spine-unity/Editor/SpineEditorUtilities.cs | 6 ++---- .../Editor/SkeletonRendererCustomMaterialsInspector.cs | 5 +---- .../CustomMaterials/SkeletonRendererCustomMaterials.cs | 5 +---- .../Assets/spine-unity/Modules/Ghost/SkeletonGhost.cs | 5 +---- .../spine-unity/Modules/Ghost/SkeletonGhostRenderer.cs | 5 +---- .../Modules/Ragdoll/Editor/SkeletonRagdoll2DInspector.cs | 5 +---- .../Modules/Ragdoll/Editor/SkeletonRagdollInspector.cs | 5 +---- .../Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll.cs | 5 +---- .../spine-unity/Modules/Ragdoll/SkeletonRagdoll2D.cs | 6 ++---- spine-unity/Assets/spine-unity/SkeletonAnimator.cs | 6 ++---- spine-unity/Assets/spine-unity/SkeletonExtensions.cs | 5 +---- .../Editor/SkeletonUtilityBoneInspector.cs | 6 ++---- .../SkeletonUtility/Editor/SkeletonUtilityInspector.cs | 6 ++---- .../Assets/spine-unity/SkeletonUtility/SkeletonUtility.cs | 5 +---- .../spine-unity/SkeletonUtility/SkeletonUtilityBone.cs | 5 +---- spine-unity/Assets/spine-unity/SpineAttributes.cs | 6 ++---- 24 files changed, 40 insertions(+), 101 deletions(-) diff --git a/spine-unity/Assets/Examples/Getting Started/Scripts/BasicPlatformerController.cs b/spine-unity/Assets/Examples/Getting Started/Scripts/BasicPlatformerController.cs index 9168e1fb6..deec46563 100644 --- a/spine-unity/Assets/Examples/Getting Started/Scripts/BasicPlatformerController.cs +++ b/spine-unity/Assets/Examples/Getting Started/Scripts/BasicPlatformerController.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Basic Platformer Controller created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using System.Collections; @@ -218,4 +215,4 @@ public class BasicPlatformerController : MonoBehaviour { return 1f + Random.Range(-maxOffset, maxOffset); } #endregion -} \ No newline at end of file +} diff --git a/spine-unity/Assets/Examples/Getting Started/Scripts/ConstrainedCamera.cs b/spine-unity/Assets/Examples/Getting Started/Scripts/ConstrainedCamera.cs index c1ff42592..ded5fe8d4 100644 --- a/spine-unity/Assets/Examples/Getting Started/Scripts/ConstrainedCamera.cs +++ b/spine-unity/Assets/Examples/Getting Started/Scripts/ConstrainedCamera.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Constrained Camera created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using System.Collections; @@ -52,4 +49,4 @@ public class ConstrainedCamera : MonoBehaviour { transform.position = Vector3.Lerp(transform.position, goalPoint, smoothing * Time.deltaTime); } -} \ No newline at end of file +} diff --git a/spine-unity/Assets/Examples/Scripts/Chimera.cs b/spine-unity/Assets/Examples/Scripts/Chimera.cs index 91182f818..469086b8e 100644 --- a/spine-unity/Assets/Examples/Scripts/Chimera.cs +++ b/spine-unity/Assets/Examples/Scripts/Chimera.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Basic Platformer Controller created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + using UnityEngine; using Spine.Unity; @@ -48,4 +46,4 @@ public class Chimera : MonoBehaviour { void Start() { GetComponent().skeleton.FindSlot(targetSlot).Attachment = SpineAttachment.GetAttachment(attachmentPath, skeletonDataSource); } -} \ No newline at end of file +} diff --git a/spine-unity/Assets/Examples/Scripts/FootSoldierExample.cs b/spine-unity/Assets/Examples/Scripts/FootSoldierExample.cs index 297fd7230..da294c19b 100644 --- a/spine-unity/Assets/Examples/Scripts/FootSoldierExample.cs +++ b/spine-unity/Assets/Examples/Scripts/FootSoldierExample.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * FootSoldierExample created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + using UnityEngine; using System.Collections; using Spine.Unity; @@ -101,4 +99,4 @@ public class FootSoldierExample : MonoBehaviour { skeletonAnimation.skeleton.SetAttachment(eyesSlot, eyesOpenAttachment); } } -} \ No newline at end of file +} diff --git a/spine-unity/Assets/spine-unity/Asset Types/Editor/SkeletonDataAssetInspector.cs b/spine-unity/Assets/spine-unity/Asset Types/Editor/SkeletonDataAssetInspector.cs index 41706ba40..5162382e5 100644 --- a/spine-unity/Assets/spine-unity/Asset Types/Editor/SkeletonDataAssetInspector.cs +++ b/spine-unity/Assets/spine-unity/Asset Types/Editor/SkeletonDataAssetInspector.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Automatic import and advanced preview added by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + #define SPINE_SKELETON_ANIMATOR #define SPINE_BAKING diff --git a/spine-unity/Assets/spine-unity/Editor/SkeletonAnimatorInspector.cs b/spine-unity/Assets/spine-unity/Editor/SkeletonAnimatorInspector.cs index 8a18d72f2..369249e10 100644 --- a/spine-unity/Assets/spine-unity/Editor/SkeletonAnimatorInspector.cs +++ b/spine-unity/Assets/spine-unity/Editor/SkeletonAnimatorInspector.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonAnimatorInspector created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + using UnityEditor; using UnityEngine; diff --git a/spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs b/spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs index cd259e66a..047200e4d 100644 --- a/spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs +++ b/spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonBaker added by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + #define SPINE_SKELETON_ANIMATOR using UnityEngine; @@ -1508,4 +1506,3 @@ namespace Spine.Unity.Editor { } } - diff --git a/spine-unity/Assets/spine-unity/Editor/SpineAttributeDrawers.cs b/spine-unity/Assets/spine-unity/Editor/SpineAttributeDrawers.cs index 78963b540..d773176e4 100644 --- a/spine-unity/Assets/spine-unity/Editor/SpineAttributeDrawers.cs +++ b/spine-unity/Assets/spine-unity/Editor/SpineAttributeDrawers.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Spine Attribute Drawers created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + using UnityEngine; using UnityEditor; using System; diff --git a/spine-unity/Assets/spine-unity/Editor/SpineEditorUtilities.cs b/spine-unity/Assets/spine-unity/Editor/SpineEditorUtilities.cs index edfc5e3e2..ee46f4ab9 100644 --- a/spine-unity/Assets/spine-unity/Editor/SpineEditorUtilities.cs +++ b/spine-unity/Assets/spine-unity/Editor/SpineEditorUtilities.cs @@ -30,10 +30,8 @@ #pragma warning disable 0219 -/***************************************************************************** - * Spine Editor Utilities created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + #define SPINE_SKELETONANIMATOR using UnityEngine; using UnityEditor; diff --git a/spine-unity/Assets/spine-unity/Modules/CustomMaterials/Editor/SkeletonRendererCustomMaterialsInspector.cs b/spine-unity/Assets/spine-unity/Modules/CustomMaterials/Editor/SkeletonRendererCustomMaterialsInspector.cs index ceeff6ca0..5ece493f6 100644 --- a/spine-unity/Assets/spine-unity/Modules/CustomMaterials/Editor/SkeletonRendererCustomMaterialsInspector.cs +++ b/spine-unity/Assets/spine-unity/Modules/CustomMaterials/Editor/SkeletonRendererCustomMaterialsInspector.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonRendererCustomMaterialsInspector created by Lost Polygon - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Lost Polygon using System; using System.Collections.Generic; diff --git a/spine-unity/Assets/spine-unity/Modules/CustomMaterials/SkeletonRendererCustomMaterials.cs b/spine-unity/Assets/spine-unity/Modules/CustomMaterials/SkeletonRendererCustomMaterials.cs index d1f70eb30..c31c8820e 100644 --- a/spine-unity/Assets/spine-unity/Modules/CustomMaterials/SkeletonRendererCustomMaterials.cs +++ b/spine-unity/Assets/spine-unity/Modules/CustomMaterials/SkeletonRendererCustomMaterials.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonRendererCustomMaterials created by Lost Polygon - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Lost Polygon using System; using System.Collections.Generic; diff --git a/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhost.cs b/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhost.cs index 58b9c555e..a057229c0 100644 --- a/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhost.cs +++ b/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhost.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonGhost created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using System.Collections.Generic; diff --git a/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhostRenderer.cs b/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhostRenderer.cs index fd8407753..e9f86c881 100644 --- a/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhostRenderer.cs +++ b/spine-unity/Assets/spine-unity/Modules/Ghost/SkeletonGhostRenderer.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonGhostRenderer created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using System.Collections; diff --git a/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdoll2DInspector.cs b/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdoll2DInspector.cs index a49090452..075954977 100644 --- a/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdoll2DInspector.cs +++ b/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdoll2DInspector.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonRagdoll2D added by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using UnityEditor; diff --git a/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdollInspector.cs b/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdollInspector.cs index b20ae4875..095d5ecb7 100644 --- a/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdollInspector.cs +++ b/spine-unity/Assets/spine-unity/Modules/Ragdoll/Editor/SkeletonRagdollInspector.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonRagdoll added by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using UnityEditor; diff --git a/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll.cs b/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll.cs index 0b3558307..5ec3cc837 100644 --- a/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll.cs +++ b/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonRagdoll added by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using System.Collections; diff --git a/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll2D.cs b/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll2D.cs index 1063cd254..a4f1b132d 100644 --- a/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll2D.cs +++ b/spine-unity/Assets/spine-unity/Modules/Ragdoll/SkeletonRagdoll2D.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonRagdoll2D added by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + //#define FLIPDEBUG using UnityEngine; diff --git a/spine-unity/Assets/spine-unity/SkeletonAnimator.cs b/spine-unity/Assets/spine-unity/SkeletonAnimator.cs index 2b98954ae..b8fbc717b 100644 --- a/spine-unity/Assets/spine-unity/SkeletonAnimator.cs +++ b/spine-unity/Assets/spine-unity/SkeletonAnimator.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * SkeletonAnimator created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + //#define USE_SPINE_EVENTS // Uncomment this define to use C# events to handle Spine events. (Does not disable Unity AnimationClip Events) using UnityEngine; diff --git a/spine-unity/Assets/spine-unity/SkeletonExtensions.cs b/spine-unity/Assets/spine-unity/SkeletonExtensions.cs index 84a98733d..99f3943ba 100644 --- a/spine-unity/Assets/spine-unity/SkeletonExtensions.cs +++ b/spine-unity/Assets/spine-unity/SkeletonExtensions.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Spine Extensions by Mitch Thompson and John Dy - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson and John Dy using UnityEngine; using Spine; diff --git a/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityBoneInspector.cs b/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityBoneInspector.cs index 9168d7d8b..0ced7a96c 100644 --- a/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityBoneInspector.cs +++ b/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityBoneInspector.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Skeleton Utility created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + using UnityEngine; using UnityEditor; using System.Collections.Generic; diff --git a/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs b/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs index d50e1ea0c..daacc7fed 100644 --- a/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs +++ b/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Skeleton Utility created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + using UnityEngine; using UnityEditor; diff --git a/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtility.cs b/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtility.cs index ccb6e40d2..b7898a189 100644 --- a/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtility.cs +++ b/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtility.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Skeleton Utility created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using UnityEngine; using System.Collections; diff --git a/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtilityBone.cs b/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtilityBone.cs index d70768d52..e376f8777 100644 --- a/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtilityBone.cs +++ b/spine-unity/Assets/spine-unity/SkeletonUtility/SkeletonUtilityBone.cs @@ -28,10 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Skeleton Utility created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson using System; using System.IO; diff --git a/spine-unity/Assets/spine-unity/SpineAttributes.cs b/spine-unity/Assets/spine-unity/SpineAttributes.cs index 7bd80f937..407e4f66f 100644 --- a/spine-unity/Assets/spine-unity/SpineAttributes.cs +++ b/spine-unity/Assets/spine-unity/SpineAttributes.cs @@ -28,10 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -/***************************************************************************** - * Spine Attributes created by Mitch Thompson - * Full irrevocable rights and permissions granted to Esoteric Software -*****************************************************************************/ +// Contributed by: Mitch Thompson + using UnityEngine; using System.Collections;