void OnSceneGUI() { if (!script.enabled) { return; } // Draw the scene view helpers for the solvers BipedIKSolversInspector.AddScene(script.solvers, ref selectedSolver); }
void OnSceneGUI() { if (!script.enabled) { return; } if (Application.isPlaying && !script.isAnimated) { return; } // Draw the scene view helpers for the solvers BipedIKSolversInspector.AddScene(script.solvers, ref selectedSolver); }