2118 Commits

Author SHA1 Message Date
pharan
b7f2f526ac [Unity] Fixed SkeletonDataAsset Inspector when drawing empty BoundingBoxAttachment 2016-01-02 06:06:31 +08:00
pharan
e116c15ffb [Unity] Minor update to sample scene scripts. 2015-12-31 09:45:14 +08:00
pharan
fb9f53ee23 [Unity] Shortened new [SpineEvent] property drawer attribute. 2015-12-31 09:36:54 +08:00
pharan
4a7d3ecf96 [Unity] Extra constructors for WaitForSpineEvent 2015-12-31 09:34:56 +08:00
pharan
914419d5fa [Unity] New Spine yield returns for coroutines. 2015-12-30 17:16:28 +08:00
John
6d386c544d [Unity] SpineAttributeDrawer Update 2015-12-30 15:36:49 +08:00
John
7d002f99e5 [Unity] SpineAttributeBase & EventDataAttribute 2015-12-30 15:31:00 +08:00
John
da10b70b84 Merge pull request #499 from EsotericSoftware/unity-autoreset
[Unity] SkeletonAnimation Update

Built-in, Opt-in, generic Autoreset handling (under the Advanced foldout).
Inspector tooltips.
XML docs for public members.
2015-12-30 15:13:56 +08:00
John
96232f891c Merge pull request #498 from EsotericSoftware/flickerfix
[Unity] Fix flickering in certain cases.

http://esotericsoftware.com/forum/Flickering-and-a-solution-for-it-5299
http://esotericsoftware.com/forum/Weird-flicker-between-some-of-the-animations-5577

https://github.com/EsotericSoftware/spine-runtimes/issues/494

Also included:
Moved attachment and flip array checks outside of extra loops in CheckIfMustUpdateMeshStructure to prevent O(2n) behavior.
Renamed some identifiers. "temp" is replaced with "working". The analogy is human brain's "working memory".
Added some cached references within the method's stack (where their members are frequently accessed).
Added comments for easy update, in preparation for incoming changes in Spine v3.
2015-12-30 15:06:46 +08:00
John
bb7d131c28 [Unity] AnimationName warnings
https://github.com/EsotericSoftware/spine-runtimes/issues/444

This makes AnimationName getter and setter safer but still warns the user of unusual circumstances.
2015-12-29 04:46:36 +08:00
John
0ea9bd216f [Unity] Atlas ingestion safety
https://github.com/EsotericSoftware/spine-runtimes/pull/259
2015-12-29 04:12:05 +08:00
John
f70bd2e310 Merge pull request #433 from kickbomb/master
Fix for unexpected huge skeleton render scale when using SPINE_TK2D
2015-12-25 22:13:31 +08:00
John
5378b7979e Auto-reset checkbox in SkeletonAnimation inspector 2015-12-24 06:56:04 +08:00
John
f67a5457a0 Opt-in Generic Autoreset for SkeletonAnimation
This allows users to easily let the SkeletonAnimation act like Spine editor (not inheriting poses from previous animations) without adding extra code.
2015-12-24 06:53:59 +08:00
John
205e0dc5ad [Unity] Fix material array incorrect persistence
This fixes a separate flickering bug.
Reported in the forum here: http://esotericsoftware.com/forum/Weird-flicker-between-some-of-the-animations-5577
The solution was to compare `this.sharedMaterials` against the immediately-determined material array.

Also included:
Moved attachment and flip array checks outside of extra loops in CheckIfMustUpdateMeshStructure to prevent O(2n) behavior.
Renamed some identifiers. "temp" is replaced with "working". The analogy is human brain's "working memory".
Added some cached references within the method's stack (where their members are frequently accessed).
Added comments for easy update, in preparation for incoming changes in Spine v3.
2015-12-23 03:31:56 +08:00
John
6778a039c6 Flickering fix
Force it to update both meshes when new triangles need to be pushed.
http://esotericsoftware.com/forum/Flickering-and-a-solution-for-it-5299
2015-12-19 20:02:10 +08:00
John
e4f9c46412 [Unity] Fix GroundConstraint -y pose values
Fix for this issue: https://github.com/EsotericSoftware/spine-runtimes/issues/484
http://esotericsoftware.com/forum/Unity-IK-SkeletonUtilityGroundConstraint-problem-5464
2015-12-15 17:19:18 +08:00
John
ed35664230 Merge pull request #437 from witcher112/master
Unity 5 and Windows Phone building fixes
2015-12-15 17:15:48 +08:00
John
c28d6442ff Merge pull request #482 from LostPolygon/animator-fix
[Spine-Unity] Fix occasional broken frame at the moment node transition happened
2015-12-15 16:15:28 +08:00
John
0474200575 Merge pull request #473 from LostPolygon/reimport-improvements
[Spine-Unity] Improved handling of Reimport All and some other weird asset import cases
2015-12-15 16:13:56 +08:00
Serhii Yolkin
3218c78239 compare references to attachments instead of comparing attachment properties 2015-11-21 18:08:17 +01:00
Serhii Yolkin
8ebf27de24 some refactoring 2015-11-21 17:56:14 +01:00
Serhii Yolkin
990eb6a8f0 fix occasional broken frame at the moment node transition happened 2015-11-21 17:47:37 +01:00
Serhii Yolkin
3cbf42d743 derp 2015-10-13 00:00:38 +02:00
Serhii Yolkin
7d60e4e255 improved handling of Reimport All and some other weird asset import cases 2015-10-11 20:26:42 +02:00
NathanSweet
91340709d4 Source formatting.
So fresh and so clean!
2015-08-03 15:06:20 +02:00
NathanSweet
9478db3d2d Fixed bounds when there are no attachments to render. 2015-08-03 14:15:14 +02:00
NathanSweet
2d70e2b05b Fixed zSpacing. 2015-08-03 05:56:44 +02:00
NathanSweet
e20a47e8f3 Fixed errors when there are no attachments to render. Added micro optimizations. 2015-08-03 03:57:42 +02:00
NathanSweet
01cb844993 You get a license file, you get a license file, EVERYBODY GETS A LICENSE FILE! 2015-07-30 22:47:00 +02:00
NathanSweet
f06fbb3d8d Clarified licensing on runtimes pages. 2015-07-30 22:44:47 +02:00
Nathan Sweet
343745006c Update README.md 2015-07-25 22:39:24 +02:00
Fenrisul
2f31288ab2 [Unity] BoundingBoxFollower reset fix 2015-07-17 23:26:08 -07:00
Fenrisul
32b8dede3d Merge branch 'master' of https://github.com/Fenrisul/spine-runtimes 2015-07-08 23:25:31 -07:00
ZimM
83624a2259 fixed warning 2015-06-29 21:02:29 +02:00
ZimM
7414476841 fix SubmeshRenderer 2015-06-29 19:24:07 +02:00
ZimM
4057316a91 Merge remote-tracking branch 'remotes/upstream/master' into optimizations 2015-06-29 19:07:39 +02:00
Fenrisul
5ee7823116 [Unity] Spine Gauge Example and misc importer tweak 2015-06-24 20:24:24 -07:00
Tomasz Jaworski
14803b4fab Windows Phone 8 complation fixed (BufferedStream changed to FileStream)
RaggedySpineboy - changed fixedAngle to freezeRotation for Unity 5.1

Changed SkeletonRagdoll2D #if UNITY_5_0 to UNITY_5
2015-06-18 18:01:59 +02:00
Fenrisul
8e49f78bbc [Unity] Patched Unity 5.1 problem with compiler directives 2015-06-14 09:44:48 -07:00
invicticide
4551a62d4b Fix for unexpected huge skeleton render scale when using SPINE_TK2D 2015-06-05 00:12:40 -06:00
Fenrisul
1f550ce5af [Unity] SkeletonAnimator lastTime calculation added to fix skipped frames 2015-06-04 11:18:52 -07:00
Fenrisul
62268f5bfa [Unity] Updated some editor usability things 2015-06-04 10:41:27 -07:00
Fenrisul
f73ce8b447 [Unity] Refactored the Mecanim and Baking options in SkeletonDataAssetInspector for clarity. 2015-06-02 11:55:27 -07:00
Fenrisul
1f343c63b9 [Unity] Auto-import of .skel.bytes added.
Added missing semicolon for TK2D
2015-05-29 11:24:29 -07:00
Fenrisul
6b7fab2c88 [Unity] SkeletonUtilityBoneInspector.cs updated to update obviously previously existing collider's points array. 2015-05-26 21:35:48 -07:00
ZimM
292f8a6404 fixed SkeletonUtilitySubmeshRenderer 2015-05-20 03:11:45 +03:00
ZimM
dcab4d975b fixed frontFacing stuff 2015-05-20 02:45:15 +03:00
Fenrisul
aef9b23a20 [Unity] Added SkeletonGhost stuff
SkeletonGhost Shader contributed by Alex Dixon
2015-05-17 05:20:06 -07:00
Fenrisul
45d8adb64c [Unity] Repaired misc Ragdoll things. 2015-05-16 06:20:20 -07:00