280 Commits

Author SHA1 Message Date
John
2f3a572ff6 Mecanim Dummy Clip Generation Warning
There was a Unity bug causing an internal Dictionary add to fail, and thus prevent existing generated Mecanim controller from being updated.
Posted on the Unity forums here: http://forum.unity3d.com/threads/bug-hidden-duplicate-animationclips.391202/
2016-03-12 09:49:41 +08:00
John
6950832d1e Fix SkeletonUtility Bone SceneGUI 2016-03-09 05:14:45 +08:00
pharan
f4d9a66d56 Cleaned up BoneFollower 2016-03-07 10:12:12 +08:00
pharan
4f6fd8aa48 SkeletonUtilityBone v3.0 fix for basic cases. 2016-03-07 05:29:29 +08:00
pharan
a964ea71a6 Fixed v3 FrontFacing. Cleaned up comments. 2016-03-07 04:12:33 +08:00
pharan
123d15b1e4 Baking should be hidden by default. 2016-03-06 21:37:17 +08:00
pharan
7aafad938d Rearranged SkeletonDataAsset Inspector. 2016-03-06 21:29:26 +08:00
pharan
7b49e63213 Clarify SkeletonRendererInspector label and tooltip. 2016-03-05 04:56:01 +08:00
pharan
fa66c7a15a Useful SkeletonGraphic editor messages. 2016-03-05 03:51:06 +08:00
John
4d5295055d Default for manually-created SkeletonDataAsset. 2016-03-04 21:23:46 +08:00
pharan
19ff671add SkeletonRenderer optional custom material per slot. 2016-03-04 03:05:11 +08:00
pharan
e1b709c1eb Submeshed MeshGenerator 2016-03-04 02:20:30 +08:00
Matt Vroman
97cb68749e Fix compile error with Bone::WorldFlipX
Code previously did not handle flip values, so revert the code to this
state for Unity 4
2016-03-01 11:57:47 -08:00
Matt Vroman
30b36b6423 Fix Unity 4 compile errors
Added preprocessors to allow Spine to compile in Unity 4
2016-03-01 11:48:18 -08:00
pharan
fab469dbf3 Fixed TK2D type name 2016-02-27 01:57:40 +08:00
pharan
425bb8fe7f YieldInstruction warnings. 2016-02-24 18:11:38 +08:00
John
817f0bb043 Incorrect comment. Copy-paste stupidity. 2016-02-22 16:29:03 +08:00
pharan
f018d2451a Fixed transform constraints. 2016-02-18 12:21:58 +08:00
pharan
4ebb6b404c Missing Spine.Unity namespace 2016-02-18 10:08:35 +08:00
pharan
f36c1d070d Fixed pre-5.2 preprocessor directives 2016-02-17 15:39:34 +08:00
pharan
1d030bb88f SkeletonGraphic disabled for Unity 5.1 and below. 2016-02-17 10:07:28 +08:00
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
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