Esempio n. 1
0
        void OnSceneGUI()
        {
            if (!script.enabled)
            {
                return;
            }

            // Draw the scene view helpers for the solvers
            BipedIKSolversInspector.AddScene(script.solvers, ref selectedSolver);
        }
Esempio n. 2
0
        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);
        }