mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Fixed compile error on Unity 2017.1 of last commits related to pull request #2351, commit 01273670.
This commit is contained in:
parent
d652f560ce
commit
f44490b1f3
@ -130,7 +130,11 @@ namespace Spine.Unity {
|
|||||||
oldTime = EditorApplication.timeSinceStartup;
|
oldTime = EditorApplication.timeSinceStartup;
|
||||||
|
|
||||||
// Force repaint to update animation smoothly
|
// Force repaint to update animation smoothly
|
||||||
|
#if UNITY_2017_2_OR_NEWER
|
||||||
EditorApplication.QueuePlayerLoopUpdate();
|
EditorApplication.QueuePlayerLoopUpdate();
|
||||||
|
#else
|
||||||
|
SceneView.RepaintAll();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private class SkeletonAnimationWrapper : IEditorSkeletonWrapper {
|
private class SkeletonAnimationWrapper : IEditorSkeletonWrapper {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user