C# UNITY_IPHONE, Still executing in update()?

I’m not sure whats causing this, but the code within UNITY_IPHONE is still being executed in this update function within the editor.

void Update () {
		#if UNITY_IPHONE
			setInertia();
		#endif
		
		#if UNITY_EDITOR || UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX
			setCamera();
		#endif
}

It’s normal when you say :

#if UNITY_IPHONE
         setInertia();
#endif

It’s not reject by the Unity editor :wink:

If you don’t want this happen you must do this :

#if UNITY_IPHONE && !UNITY_EDITOR
         setInertia();
#endif