diff --git a/Assets/Scripts/WindowController.cs b/Assets/Scripts/WindowController.cs index 6e70f61ac..33f422071 100644 --- a/Assets/Scripts/WindowController.cs +++ b/Assets/Scripts/WindowController.cs @@ -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 } } } \ No newline at end of file