fixed a thing in the editor, something broke with the new cool stuff
This commit is contained in:
parent
39f7cbfd6e
commit
4eb6fb6526
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue