mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +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();
|
||||
}
|
||||
|
||||
/// <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 () {
|
||||
wasUpdatedAfterInit = true;
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-unity",
|
||||
"displayName": "spine-unity Runtime",
|
||||
"description": "This plugin provides the spine-unity runtime core.",
|
||||
"version": "4.1.25",
|
||||
"version": "4.1.26",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user