2138 Commits

Author SHA1 Message Date
pharan
fe02e78681 SkeletonGraphic Inspector and Edtor, small fixes. 2016-02-16 13:27:20 +08:00
pharan
200570ea0e NewMesh should be marked dynamic. 2016-02-15 18:16:48 +08:00
pharan
ef92fc3843 Fixed incorrect overwrite check. 2016-02-15 12:06:57 +08:00
pharan
be38f3e1d3 SkeletonRenderer.Reset is now Initialize(bool overwrite). SkeletonGraphic. New sample scenes updated for Spine v3. Mesh Generation. Rearranged folders. Many small fixes. 2016-02-15 11:05:09 +08:00
NathanSweet
4283d6fce3 Updated spine-unity for Spine v3.
@Fenrisul she's ready for your magic! :D See diff and/or `// MITCH` comments.
@pharan
2016-02-14 23:20:36 +01:00
pharan
d4901b74d0 [Unity] GetColor, Bone position and Skeleton pose extensions. 2016-02-05 20:49:51 +08:00
pharan
e978f2e519 [Unity] Prevent SkeletonAnimation from using AnimationState in edit mode. 2016-02-05 19:28:15 +08:00
pharan
d2c2ce0e14 [Unity] SkeletonAnimationInspector now uses SpineAnimation attribute. Bypasses Spine.AnimationState in edit mode. 2016-02-04 23:13:33 +08:00
pharan
6de6a4712d [Unity] Internal check enforces RequireComponent better. 2016-01-26 07:41:49 +08:00
pharan
324cbc89cc [Unity] Some cleanup to runtime instantiation. 2016-01-26 07:39:39 +08:00
pharan
6e6e5a9438 [Unity] SkeletonAnimation.AddToGameObject() method for instantiation at runtime. 2016-01-26 07:29:40 +08:00
John
b8ccd5cbda [Unity] Comments for SpineAttachment Attribute 2016-01-24 10:20:31 +08:00
John
53693c3faf [Unity] Comments for CustomSkin.cs 2016-01-24 10:17:32 +08:00
John
06687a3595 Removed GetSkeleton. Still has .Skeleton property. 2016-01-11 20:42:51 +08:00
pharan
8c7038c0b9 [Unity] Autoreset will be a separate script until we clear up mixing stuff. Sorry for the confusion! 2016-01-05 15:41:10 +08:00
pharan
f0d1b75732 [Unity] Disabled a false error message. 2016-01-04 09:39:38 +08:00
pharan
ff5b7e67e4 [Unity] Updated Readme. 2016-01-04 09:10:18 +08:00
pharan
64f69343a2 [Unity] Allow SkeletonGhost use in camera distance sorting setup. 2016-01-02 18:55:45 +08:00
pharan
bfb58cbb19 [Unity] Some ExposedList use optimization within loops. 2016-01-02 17:50:49 +08:00
John
83a7ecc3b0 [TK2D] Fixed null array reference in some cases.
from this PR: https://github.com/EsotericSoftware/spine-runtimes/pull/400
The other half of this PR was already applied in a previous commit.

Thanks @YiDuwon
2016-01-02 06:36:02 +08:00
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