1137 Commits

Author SHA1 Message Date
Fenrisul
a4361c6f0c [Unity] Added BoundingBoxFollower 2015-04-10 01:32:36 -07:00
Fenrisul
e5a3cf3070 [Unity] No seriously this time, fixed the Basic Platformer.unity example scene. 2015-04-07 11:55:36 -07:00
Fenrisul
2cc4add0a1 [Unity] Updated Basic Platformer example scene with mesh Hero. 2015-04-05 11:41:37 -07:00
NathanSweet
f8a76c6455 Blend modes for all runtimes. 2015-04-02 14:20:20 +02:00
NathanSweet
1ccef4f1cf SkeletonDataAsset can now parse binary files.
Left benchmark code commented out.
2015-03-29 17:54:08 +02:00
NathanSweet
f9e0e103b8 Fixed warnings. 2015-03-29 00:48:18 +01:00
pharan
7bf9b0f524 Added skeleton.SetColor to Unity SkeletonExtensions. 2015-03-28 14:26:57 +08:00
Fenrisul
974ae1d640 Formatting cleanup 2015-03-16 18:03:40 -07:00
Fenrisul
1f0a23a9aa Temporary patch job for SkeletonUtilitySubmeshRenderer 2015-03-16 18:03:06 -07:00
Fenrisul
1e6764d4d5 Added BoundingBoxAttachment support for SkeletonUtility and SkeletonDataAssetInspector. 2015-03-16 00:21:51 -07:00
Fenrisul
a295b528f5 Made things prettier for Pharan. 2015-03-15 11:38:54 -07:00
Fenrisul
528a182c93 Formatting cleanup 2015-03-15 11:00:11 -07:00
Fenrisul
34b08bceec Added TK2D support to main spine-unity runtime with compiler directive.
spine-tk2d now obsolete
Added PreferenceItem GUI to SpineEditorUtilities (Default Mix and TK2D)
2015-03-15 10:59:30 -07:00
Fenrisul
abdd68ba02 Fixed non-packed sprite attachment issue 2015-03-13 22:44:14 -07:00
Fenrisul
fcf90be386 Return Attachment after adding from Sprite.
Misc clean up
2015-03-13 20:24:30 -07:00
Fenrisul
18bbcfdc6a Formatting clean up 2015-03-13 20:15:29 -07:00
Fenrisul
f73d6e5d1c SpriteAttachmentLoader and friends 2015-03-13 20:15:01 -07:00
pharan
b28b7674d8 Fixed ambiguous method return in Unity 5 release. 2015-03-04 10:13:53 +08:00
ZimM
3347ffcf86 moved meshBoundsMin/Max.z calculation outside the loop
pass by ref in LastState.Equals
return true right away in SkeletonRenderer.MustUpdateMeshStructure
2015-02-28 05:53:47 +02:00
ZimM
f42d76a59b fixed a regression when using Front Facing or Immutable Triangles 2015-02-28 05:31:44 +02:00
ZimM
be7480bca4 update and set mesh triangles only when it's required 2015-02-28 03:43:30 +02:00
ZimM
de4fc8b483 remove string comparisons in SkeletonAnimator 2015-02-28 03:10:07 +02:00
ZimM
ab396af5f3 fixed type in SkeletonUtility 2015-02-28 03:09:09 +02:00
ZimM
cdaa7c7460 don't update the mesh if Renderer is disabled 2015-02-27 05:14:36 +02:00
ZimM
77b5f36336 derp. forgot to revert Gizmo color.
do not calculate alpha when using additive blending
2015-02-26 23:29:53 +02:00
ZimM
b07e24f910 replaced Mesh.RecalculateBounds() in SkeletonRenderer with manual calculation, since we're going through all the vertices anyway
optimized SkeletonRenderer.OnDrawGizmos
2015-02-26 18:07:36 +02:00
ZimM
905890f7ca one more is + as -> as + null check 2015-02-26 14:40:59 +02:00
ZimM
0b86e3330a oops. spaces to tabs 2015-02-26 06:56:05 +02:00
ZimM
169ec15285 reduce method calls overhead in SkeletonRenderer
reduce GC pressure in SkeletonAnimator
2015-02-26 06:34:31 +02:00
ZimM
0635c19fef replace some more List<T> with ExposedList<T>
fix some stupidity from previous commit
2015-02-26 05:37:28 +02:00
ZimM
9ae48c2aac replaced List<T> with ExposedList<T> to avoid indexer overhead 2015-02-26 05:00:44 +02:00
pharan
2de88fc6aa Unity 5 compatible SkeletonRendererInspector sorting layer fields. 2015-02-26 11:00:17 +08:00
pharan
cd198cc970 Added Sorting Layers GUI to SkeletonRenderer and SkeletonAnimation Inspectors. 2015-02-24 14:02:07 +08:00
Fenrisul
fdb83d5428 Merge branch 'master' of https://github.com/EsotericSoftware/spine-runtimes 2015-02-17 18:37:28 -08:00
Fenrisul
678296a3d7 Added SkeletonUtility button to SkeletonAnimatorInspector 2015-02-17 18:36:56 -08:00
Fenrisul
9c7b95ff30 SkeletonAnimator update
Unity5 compatibility pass
2015-02-17 18:22:51 -08:00
Fenrisul
f25f33fbc5 MixMode list added to SkeletonAnimator 2015-02-17 17:33:30 -08:00
Fenrisul
39e754315e Added SkeletonAnimator
Changed SkeletonAnimation delegates to pass SkeletonRenderer instead of SkeletonAnimation
Refactored how delegates/events work a bit in SkeletonAnimation by implementing ISkeletonAnimation interface.
2015-02-17 16:20:57 -08:00
Fenrisul
366cbaf0c3 Updated SkeletonUtilityBone to handle FlipX better by scaling Z in follow mode when world flipped. 2015-02-07 01:48:05 -08:00
John
e85c1b49a0 Unnoticeably faster frontFacing SkeletonRenderer
Cached slot.bone to remove 3 dereferences.
2015-02-07 03:06:57 +08:00
Fenrisul
1f13add101 One more adjustment to SkeletonRenderer. 2015-02-05 19:09:47 -08:00
Fenrisul
663a241939 Forgot to add SkeletonBaker.cs.meta. 2015-02-05 19:04:41 -08:00
Fenrisul
68cc57143e Modified SkeletonRenderer OnEnable OnDisable to be Awake and OnDestroy to clear meshes to fix a few behavioral changes. 2015-02-05 19:04:23 -08:00
Fenrisul
b2ae8cba9f SkeletonBaker dirty settings fix 2015-02-02 06:52:19 -08:00
Fenrisul
ca97abb2a1 Added SkeletonBaker system 2015-02-02 05:49:36 -08:00
Fenrisul
c445d14f6e Null mesh cleanup fixed in SkeletonRenderer
Added "Front Facing" parameter to SkeletonRenderer
2015-01-29 17:41:34 -08:00
Fenrisul
86a5b5289d updated footsoldier example 2015-01-26 22:05:39 -08:00
Fenrisul
dc5873876b Modified SkeletonRenderer to destroy mesh1 and mesh2 when disabled if the gameobject its attached to is no longer visible. 2015-01-26 22:02:55 -08:00
Fenrisul
7638ed96ff Missing reference fix 2015-01-23 00:23:41 -08:00
Fenrisul
9911183a3d Initial import error fix 2015-01-23 00:21:27 -08:00