mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[unity] Fixed missing added file changes of preceding commit. See #2965.
This commit is contained in:
parent
9cccd52c2e
commit
afeb48933d
@ -32,7 +32,7 @@
|
||||
|
||||
#define READ_VOLATILE_ONCE
|
||||
#if UNITY_2017_3_OR_NEWER
|
||||
//#define ENABLE_THREAD_PROFILING
|
||||
#define ENABLE_THREAD_PROFILING
|
||||
#endif
|
||||
|
||||
#define DONT_WAIT_FOR_ALL_LATEUPDATE_TASKS // enabled improves performance a bit.
|
||||
@ -209,7 +209,7 @@ namespace Spine.Unity {
|
||||
|
||||
#if USE_THREADED_ANIMATION_UPDATE
|
||||
public void RegisterForUpdate (UpdateTiming updateTiming, SkeletonAnimationBase skeletonAnimation) {
|
||||
skeletonAnimation.isUpdatedExternally = true;
|
||||
skeletonAnimation.IsUpdatedExternally = true;
|
||||
|
||||
var skeletonAnimations = skeletonAnimationsUpdate;
|
||||
if (updateTiming == UpdateTiming.InFixedUpdate) skeletonAnimations = skeletonAnimationsFixedUpdate;
|
||||
@ -226,7 +226,7 @@ namespace Spine.Unity {
|
||||
else if (updateTiming == UpdateTiming.InLateUpdate) skeletonAnimations = skeletonAnimationsLateUpdate;
|
||||
|
||||
skeletonAnimations.Remove(skeletonAnimation);
|
||||
skeletonAnimation.isUpdatedExternally = false;
|
||||
skeletonAnimation.IsUpdatedExternally = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user