public void Stop() { #if UNITY_EDITOR if( Application.isPlaying == false ) EditorApplication.update -= Update; #endif _isPulsing = false; }