fixed a thing in the editor, something broke with the new cool stuff

This commit is contained in:
Firerise9402 2023-10-15 19:29:38 -04:00
parent 39f7cbfd6e
commit 4eb6fb6526

View file

@ -216,7 +216,11 @@ namespace HeavenStudio
pan = defaultPan;
scale = defaultScale;
shakeResult = defaultShake;
#if UNITY_EDITOR
return;
#else
SetPosition(Convert.ToInt16(pan.x), Convert.ToInt16(pan.y), Convert.ToInt16(scale.x), Convert.ToInt16(scale.y));
#endif
}
}
}