253 Commits

Author SHA1 Message Date
Harald Csaszar
5bde0730d3 [unity] Timeline clips now offer an additional Alpha parameter for setting a custom constant mix alpha (as TrackEntry.Alpha). 2022-03-24 11:58:29 +01:00
Harald Csaszar
1361a72758 Merge branch '4.0' into 4.1-beta 2022-03-15 19:23:19 +01:00
Harald Csaszar
dbabe96e6c [unity] Increased package.json version number of URP shaders UPM package. 2022-03-15 19:21:46 +01:00
Harald Csaszar
ac73e8dc7d Merge branch '4.0' into 4.1-beta 2022-03-15 19:20:58 +01:00
Harald Csaszar
5a32e002b8 [unity] Fixed URP lit shaders ignoring straight alpha settings during fallback to unlit. Affected SkeletonRenderTexture. Closes #2044. 2022-03-15 19:17:51 +01:00
Harald Csaszar
94c42ab33a [unity] Increased timeline package version number after commit 3b0c272b. See #1866. 2022-02-21 21:55:46 +01:00
Harald Csaszar
3b0c272b01 [unity] Fixed Timeline Playable.SetSpeed having no effect on SpineAnimationStateTrack. Closes #1866. 2022-02-21 21:54:12 +01:00
Harald Csaszar
76068cc4f4 Merge branch '4.0' into 4.1-beta 2022-02-07 16:25:34 +01:00
Harald Csaszar
6b8c6b31cf [unity] Timeline: Fixed Editor scrubbing preview not showing SkeletonUtilityBone overrides (Update callback based). Closes #2031. 2022-02-07 16:18:44 +01:00
Harald Csaszar
5048034053 [unity] Timeline UPM package documentation updated to latest changes, also on website documentation. 2022-02-04 20:46:25 +01:00
Harald Csaszar
e160380d0e [unity] Minor: made Timeline Track and Clip colors consistent. 2022-02-04 16:01:08 +01:00
Harald Csaszar
431910d660 [unity] Timeline add Track menu naming improvements. Changed clip property Custom Duration to Default Mix Duration (inverted). Improved track appearance in the Timeline window and track Inspector. 2022-02-04 14:38:24 +01:00
Harald Csaszar
ca9274b86d Merge branch '4.0' into 4.1-beta 2022-01-18 19:10:15 +01:00
Harald Csaszar
9e54dc4faa [unity] Increased version number of Spine URP Shaders UPM package in package.json. 2022-01-18 19:06:47 +01:00
Harald Csaszar
8a30203ab9 [unity] Fixed incorrect normal orientation for lighting in URP 2D shaders. Closes #2023. Fixed compile error of URP/2D/Spine/Sprite shader on Unity 2021.2. Closes #2022. 2022-01-18 19:03:12 +01:00
Harald Csaszar
dbf93a5a2f Merge branch '4.0' into 4.1-beta 2022-01-12 16:06:54 +01:00
Harald Csaszar
ae186964a2 [unity] Timeline: Removed editor warning when SpineAnimationStateTrack 'Track Index' is identical at different tracks, different skeleton objects can be targeted. Timeline API prevents a target object check. See commit 7db783c. 2022-01-12 16:01:56 +01:00
Harald Csaszar
8a89b7399a Merge branch '4.0' into 4.1-beta 2021-11-29 19:40:26 +01:00
Harald Csaszar
7db783c660 [unity] Timeline: Added editor warning when SpineAnimationStateTrack 'Track Index' is identical to target 'Track Index' of other track. 2021-11-29 19:36:48 +01:00
Harald Csaszar
24f676a030 [unity][csharp] Updated test package.json files and test asset version numbers to 4.1. 2021-11-22 19:36:50 +01:00
Harald Csaszar
62b513a06b Merge branch '4.0' into 4.1-beta 2021-11-22 19:36:00 +01:00
Harald Csaszar
ac9c83f7d7 [unity] Added missing license header to test class. 2021-11-22 19:30:24 +01:00
Harald Csaszar
d1b1e32bbf [unity][csharp] Minor cleanup of last commit. 2021-11-22 19:25:21 +01:00
Harald Csaszar
3b061eaa5f [unity][csharp] Moved automated tests out of the spine-unity Assets directory to a UPM package (to prevent potential compile errors upon incomplete setup). Updated spine-csharp tests to be usable as a UPM package. 2021-11-22 19:12:18 +01:00
Harald Csaszar
e16d39f00e Merge branch '4.0' into 4.1-beta 2021-11-09 17:50:18 +01:00
Harald Csaszar
ead89c9c35 [unity] Fixed a Timeline bug (not pausing) when Don't end at clip end is enabled and PlayableDirector.pause is called. Closes #1980. 2021-11-09 17:39:13 +01:00
Harald Csaszar
f2cf39cfb6 Merge branch '4.0' into 4.1-beta 2021-11-03 19:52:46 +01:00
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Harald Csaszar
dfa52de90d [unity] Fixed URP shader compile error at Unity 2021.2 (with URP 12.0 and newer). Closes #1912. Added commented-out include references to spine-core include files using package name, to be used when spine-unity is used via UPM package. 2021-10-29 16:16:12 +02:00
Harald Csaszar
5052b727de [unity] Removed unnecessary URP shader variants that lead to very high compile time. Closes #1974. 2021-10-29 13:20:45 +02:00
Harald Csaszar
4b70b1489c [unity] Fixed IAnimationStateComponent missing (destroyed) component exception due to interface null check instead of using overloaded UnityEngine.Object.operator==. Closes #1972.
IAnimationStateComponent throws exception due to interface null check #1972
2021-10-27 18:06:37 +02:00
Harald Csaszar
947da83533 [unity] Increased package version number of last commit's changes. See #1967, commit 43e8000. 2021-10-12 12:50:02 +02:00
Harald Csaszar
43e8000c80 [unity] Fixed URP Sprite shader ignoring Fixed normal in some settings. Closes #1967. Fixed a warning. 2021-10-12 12:48:49 +02:00
Harald Csaszar
5937b3021b [unity] Fixed Timeline clip not updating to the shown EaseIn & MixerBehaviour when inside Play mode. Added null check. Closes #1962. 2021-10-11 18:25:22 +02:00
Harald Csaszar
555c124a44 [unity] Updated second package.json file version number as well. See commit 38a42e41. See #1961. 2021-10-06 20:34:29 +02:00
Harald Csaszar
38a42e41c6 [unity] Fixed Timeline clip EaseIn from empty animation or blank space. Closes #1961. 2021-10-06 20:30:58 +02:00
Harald Csaszar
b235b42175 [unity] Added a second package.json for timeline UPM package for use with spine-unity via unitypackage instead of UPM dependencies. See #1676. 2021-09-17 18:26:22 +02:00
Harald Csaszar
91f7969cdc [csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676. 2021-09-14 17:12:50 +02:00
Mario Zechner
67c0d39eab [runtimes] Fixed owl example project, export and runtime scripts
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
2021-09-14 00:02:04 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Nathan Sweet
7d6cdcd9d8 Applied oxipng. 2021-08-04 18:44:16 -04:00
Harald Csaszar
32165703b9 [unity] Timeline: Fixed Inspector cutting off last three parameters. Updated documentation and package version for commit a7752095. See #1933, see #1807. 2021-08-03 19:45:43 +02:00
Harald Csaszar
a775209577 [unity] Timeline clip end behaviour made more consistent and configurable, mixes out to empty animation by default. Partially reverted b4fd09b6. See #1933. Closes #1807. 2021-08-03 18:29:53 +02:00
Harald Csaszar
b4fd09b690 [unity] Timeline now supports not pausing at track end via added Don't Pause on Stop parameter. Closes #1933. 2021-07-30 19:45:16 +02:00
Harald Csaszar
96d1061374 [unity] Minor cosmetic and documentation update after pull request to not pause timeline on Director pause. See #1929. 2021-07-22 17:53:37 +02:00
Vladislav Hristov
cd3d8e3359 [unity] Add option to not pause spine with timeline
There is already an option with hold the animation, but there is no
option to not pause the animation while the Timeline director is paused.

An example use-case where this option is important is when the timeline
is paused while waiting for an user input, but there is still a need to
play an idle loop animation on a spine skeleton.
2021-07-22 12:10:45 +03:00
Harald Csaszar
6d9e3e7e19 [unity] Fixed Timeline not pausing/resuming clip playback on PlayableDirector.pause. Closes #1920. 2021-07-06 17:48:21 +02:00
Harald Csaszar
02f87a0f9f [unity] All lit shaders now provide an additional parameter Light Affects Additive which defaults to false. This re-introduces flexibility taken away in commit aa46f411. See #1301. 2021-04-07 19:54:08 +02:00
Harald Csaszar
aa46f411ab [unity] Made all shaders (including URP and LWRP shaders) compatible with Linear Color Space. Closes #1301. 2021-03-31 20:44:45 +02:00
Harald Csaszar
1d2cad34a3 [unity] Fixed incorrect Timeline flip clip state when paused. Closes #1865. 2021-03-23 19:35:27 +01:00