mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Added manual Update(float) method at SkeletonMecanim for updateTiming ManualUpdate. Closes #2389.
This commit is contained in:
parent
64853b73bc
commit
c0032b4ffb
@ -109,6 +109,13 @@ namespace Spine.Unity {
|
|||||||
UpdateAnimation();
|
UpdateAnimation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>Manual animation update. Required when <c>updateTiming</c> is set to <c>ManualUpdate</c>.</summary>
|
||||||
|
/// <param name="deltaTime">Ignored parameter.</param>
|
||||||
|
public virtual void Update (float deltaTime) {
|
||||||
|
if (!valid) return;
|
||||||
|
UpdateAnimation();
|
||||||
|
}
|
||||||
|
|
||||||
protected void UpdateAnimation () {
|
protected void UpdateAnimation () {
|
||||||
wasUpdatedAfterInit = true;
|
wasUpdatedAfterInit = true;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-unity",
|
"name": "com.esotericsoftware.spine.spine-unity",
|
||||||
"displayName": "spine-unity Runtime",
|
"displayName": "spine-unity Runtime",
|
||||||
"description": "This plugin provides the spine-unity runtime core.",
|
"description": "This plugin provides the spine-unity runtime core.",
|
||||||
"version": "4.1.25",
|
"version": "4.1.26",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user