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;
|
pan = defaultPan;
|
||||||
scale = defaultScale;
|
scale = defaultScale;
|
||||||
shakeResult = defaultShake;
|
shakeResult = defaultShake;
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
return;
|
||||||
|
#else
|
||||||
SetPosition(Convert.ToInt16(pan.x), Convert.ToInt16(pan.y), Convert.ToInt16(scale.x), Convert.ToInt16(scale.y));
|
SetPosition(Convert.ToInt16(pan.x), Convert.ToInt16(pan.y), Convert.ToInt16(scale.x), Convert.ToInt16(scale.y));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue