mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[unity] Fixed compile error introduced by commit 963da75 (moved Search() method between classes).
This commit is contained in:
parent
81744da44a
commit
87b6810675
@ -42,7 +42,7 @@ namespace Spine.Unity.AnimationTools {
|
||||
if (time < frames[0]) return Vector2.zero;
|
||||
|
||||
float x, y;
|
||||
int i = Animation.Search(frames, time, TranslateTimeline.ENTRIES), curveType = (int)timeline.curves[i / TranslateTimeline.ENTRIES];
|
||||
int i = TranslateTimeline.Search(frames, time, TranslateTimeline.ENTRIES), curveType = (int)timeline.curves[i / TranslateTimeline.ENTRIES];
|
||||
switch (curveType) {
|
||||
case TranslateTimeline.LINEAR:
|
||||
float before = frames[i];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user