376 Commits

Author SHA1 Message Date
John
204050e1c2 [unity] SkeletonUtilityInspector uses new handles. 2016-09-29 17:30:40 +08:00
John
2c8f291d7b [unity] SpineEditorUtilities Handles 2016-09-29 17:28:54 +08:00
John
426bb60c3c [unity] Cleanup AtlasAssetInspector reflection. 2016-09-27 13:43:57 +08:00
John
473cd0772b [unity] Cleanup AtlasAssetInspector reflection. 2016-09-27 01:48:12 +08:00
John
9bb546c6d6 [unity] Restored AtlasAsset inspector region list. 2016-09-27 01:45:44 +08:00
John
9da5512b78 [unity] Fixed renderer submesh cache. 2016-09-19 18:53:39 +08:00
John
a67850cbe8 [unity] SkeletonExtensions fixes.
https://github.com/EsotericSoftware/spine-runtimes/issues/700
2016-09-16 15:02:21 +08:00
John
7b03506b24 [unity] Added sprite slices button feedback. 2016-09-11 22:24:03 +08:00
John
c1535080c8 [unity] Unity Sprite slices for atlas textures.
The new "Apply Regions as Texture Sprite Slices" button adds Sprite slices to all atlas page Textures of an AtlasAsset in Unity Editor.
Clicking the button updates existing sprites if it detects name-matches. Adds ones that don't exist. It does not remove non-matches.

Sprite slices are not auto-applied on atlas import. Users have to opt-in by clicking the button.
This is also to communicate that spine-unity does not currently rely on the Unity sprite system. Unity 5.5 has promising API changes to this end but this cannot be a standard spine-unity feature yet.

This replaces the functionality of the old Region Baking as prefabs with mesh assets. Original functionality has been precompiler-defined out. Region baking code will be removed in a future version.
2016-09-11 22:08:43 +08:00
pharan
fbd8e32c06 [unity] Fix PMA for SkeletonRenderSeparator. 2016-09-08 20:43:03 +08:00
John
5da73d9f1b [unity] SpriteAttacher basic SkeletonGraphic support. 2016-09-05 13:58:10 +08:00
John
f539742300 [unity] SpriteAttacher better PMA behavior. 2016-09-05 13:34:08 +08:00
pharan
e0ee7ce4f5 [unity] Some cleanup and documentation. 2016-08-29 17:17:56 +08:00
pharan
ee324f4bde [unity] Make SkeletonDataAsset safer to create at runtime. 2016-08-29 17:17:28 +08:00
pharan
13f433d13d [unity] Fix compatibility with Unity 5.1. 2016-08-29 17:10:52 +08:00
pharan
3af5290e23 [unity] Fix SkeletonRendererInspector narrow labels. Added PMA Vertex Colors field. 2016-08-27 12:03:45 +08:00
pharan
c9ffdc7eae [unity] Fix SkeletonGraphic not applying PMA to vertex colors. 2016-08-27 11:38:22 +08:00
John
f71afac880 [unity] SkeletonUtilityBoneInspector cleanup+fixes 2016-08-15 20:18:09 +08:00
pharan
384889cf7a [unity] Fix Drag and Drop menu for SkeletonGraphic + hierarchy icons. 2016-08-09 19:51:50 +08:00
John
205c65e8d8 [unity] Add hierarchy icons to prefs. 2016-08-08 21:27:50 +08:00
pharan
a2abf956be [unity] Mark and make hierarchy icons easy to opt-out for users with complex scenes. 2016-08-05 18:31:24 +08:00
pharan
35a7a7be76 [unity] Fix SkeletonRenderSeparator edit mode refresh. 2016-08-05 18:30:14 +08:00
John
edc8f6e908 [unity] Fix SkeletonDataAssetInspector GUILayout 2016-08-02 21:37:10 +08:00
pharan
18d7229b5d [Unity] Fix SkeletonGraphic incompatible version fallback. 2016-08-02 16:30:21 +08:00
pharan
0434398b36 [unity] Drag n drop now uses RectTransform plane if selected (for UI) + minor fixes. 2016-08-01 09:12:40 +08:00
pharan
bd7ad96bc6 [unity] Don't import atlas textures as Unity Sprites by default. 2016-07-31 22:26:40 +08:00
pharan
395dc5b345 [unity] Drag n drop to Scene View context menu for all types. 2016-07-31 22:09:28 +08:00
pharan
870bda40b7 [unity] Basic drag n drop SkeletonDataAsset to Scene View. 2016-07-31 19:58:50 +08:00
pharan
64ec35a1ac [unity] Added missing event data to Raptor sample skeleton. 2016-07-31 18:18:29 +08:00
pharan
b36d1e9e02 [unity] Fix [SpineAttachment] not fully using dataField to find ISkeletonComponent. Minor fixes. 2016-07-31 18:17:46 +08:00
pharan
11a6717db2 [unity] Handle changed API in Unity 5.4 2016-07-31 09:33:13 +08:00
pharan
af9085a07e [unity] SpineEditorUtilities, handle low memory unloading assets in stack + new preferences items. 2016-07-31 09:31:51 +08:00
pharan
e23bec8ddb [unity] Unified interfaces for Skeleton instance components. Used by SpineAttributeDrawers. 2016-07-27 05:40:33 +08:00
John
a7661270c0 [unity] BoneFollower same-GameObject editor guard. 2016-07-23 00:27:58 +08:00
John
afffdbe383 [unity] Fixed addTangents field. 2016-07-22 04:20:55 +08:00
pharan
c744c9a7d7 [unity] Minor editor changes. 2016-07-21 22:32:33 +08:00
Alexander Brazie
5532ca290d [Unity] Added BoundingBoxFollower.isTrigger (#635)
* Added isTrigger variable to bounding box followers

IsTrigger added to bounding box follower.

* Added isTrigger variable to bounding box followers

Same as the last one.
2016-07-21 22:24:20 +08:00
John
77c4cdc1e4 [unity] SkeletonRenderer Update (Tangents, MeshGeneration) (#646) 2016-07-21 22:23:21 +08:00
John
791b0a3b2f [unity] Reduced foreach use in SkeletonUtility. 2016-07-16 23:55:59 +08:00
pharan
5611de296d [unity] Minor SkeletonGraphic fixes. 2016-07-15 14:44:23 +08:00
pharan
0e883f3e3c [unity] BoneFollower.followSkeletonFlip 2016-07-15 14:22:30 +08:00
John
7e5aa7db2b [unity] Update compatibility message.
Spine 3.4 was a major launcher and editor update but required no runtime changes.
2016-07-13 22:57:29 +08:00
John
5e08751fb8 [spine-unity] Fix BoundingBoxFollower type check.
Slots that are set to an `Attachment` that is not a `BoundingBoxAttachment` will treat it as null instead of ignoring it or throwing an exception.
2016-07-11 10:13:57 +08:00
John
2fdd820da0 [spine-unity] SkeletonRenderer fix null 1st material. 2016-07-11 09:53:30 +08:00
John
d6dc425817 [spine-unity] Clarify BoundingBoxFollower behavior in editor. (#630) 2016-07-11 09:40:38 +08:00
John
c7b6966055 [spine-unity] Better BoneFollower editor warnings. 2016-07-05 16:12:21 +08:00
pharan
94df4cb5be [spine-unity] Fix SkeletonDataAsset inspector error on recompile. 2016-07-05 15:22:11 +08:00
John
bde07221b3 [spine-unity] Fix SkeletonGhostRenderer namespace. 2016-07-05 05:15:17 +08:00
pharan
ebd8831a17 [spine-unity] 3.3 changes to TK2D code + better default scale. 2016-07-04 13:58:34 +08:00
John
1c19365325 [csharp][monogame][unity][xna] Updated to 3.3.x (#623)
* [spine-csharp] Ported 3.3 changes of Animation and inner classes. Added MathUtils.Clamp

* [spine-csharp] Ported 3.3 changes of AnimationStateData. Updated .gitignore to exclude .meta files from spine-csharp

* [spine-csharp] Ported 3.3 changes of Bone

* [spine-csharp] Ported 3.3 changes of BoneData

* [spine-csharp] Ported 3.3 changes of Event

* [spine-csharp] Ported 3.3 changes to IKConstraint. Also got rid of the hideous labeled break. Replaced with while and sprinkled continues and break :D

* [spine-csharp] Mario is not good with labeled breaks. Fixed with goto

* [spine-csharp] Ported more 3.3 changes, only SkeletonJson and SkeletonBinary left. Unity runtime also needs updating with new changes

* [spine-csharp] fixed compilation errors initially not reported by Mono CS

* Minor clean up.

Every space has its place.™

* Match csharp 3.3 refactorings.

* [Unity] Minor cleanup in SkeletonBaker.

* Better exception messages.

* Removed extra usings. Matched whitespace style.

* Fixed Bone.cs method PascalCase and xml documentation.

* Fixed Exception ctor arguments.

* Fixed single bone IK mixing.

Matched libgdx commit:
e0ee18a088

* [spine-csharp] Port of 3.3 changes to SkeletonJson, incomplete

* [Unity] Ragdoll: account for shear and new constraints.

* [spine-csharp] Ported 3.3 changes to SkeletonJson

* [spine-csharp] Ported 3.3 changes to SkeletonBinary. Time for testing and debugging

* [spine-csharp] Fixed up XNA runtime

* Added simple example data in new exports/ folder

* [spine-csharp] Fixed bug in Slot construtor, wasn't assigning index. Fixed bug in CurveTimeline, argument guard was wrong. Fixed bugs in SkeletonJson, indexing to get duration of a timeline was wrong. Added simple example to spine-xna for easier debugging

* [spine-csharp] Fixed porting bug in ColorTimeline#apply, indexing was wrong

* [spine-csharp] Fixed SkeletonJson#ReadVertices, calling resize on temp lists was wrong. Updated goblin sample in spine-xna, fixed mesh attachment rendering in spine-xna.

* [spine-xna] Added binary exports, modified XNA game

* [spine-xna] Added tank example

* Some cleanup. Relabeled generic todos.

* Prevent SpineEditorUtilities from orphaning failed instantiations.

* Ignore PathAttachment when checking for required atlas regions.

* [spine-csharp] the great spaces to tabs battle

* [spine-csharp] Fixed inherit deform.

* [spine-csharp] Match Skeleton.java properties and stuff.

* [spine-csharp] Fixed enums, all upper cased now, using Enum.ParseType in case-insensitive mode

* [csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks

* [csharp] Updated README.md

* [xna] [monogame] [unity] Updated README.md

* Revert "[csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks"

This reverts commit 175216868dd00b4ae31cc717022242308c150f6a.

* [csharp] Fix to AttachmentTimeline#apply, fix for the fix for the fix for the revert for the fix

* [csharp] Matched and fixed more comments, summaries, exception messages and formatting.

* [csharp] Fix deformed weighted vertices condition + match libgdx closer.

* [csharp] Use internal ExposedList array for critical methods.

* [csharp] SkeletonJson and SkeletonBinary minor formatting and fixes.

* [unity] Match changes and fixes in spine-csharp 3.3 + better editor messages.

* [unity] Updated sample scenes and files.

* [csharp] Some formatting got left behind.

* [unity] New readme links + Removed redundant info.

* [exports] Remove dummy project.
2016-06-30 04:29:33 +08:00