Ejemplo n.º 1
0
        protected override void AddInspector()
        {
            // Draw the inspector for IKSolverFABRIKRoot
            IKSolverFABRIKRootInspector.AddInspector(solver, !Application.isPlaying);

            // Warning box
            if (!script.solver.IsValid(false))
            {
                AddWarningBox(script.solver);
            }
        }
        protected override void AddInspector()
        {
            // Draw the inspector for IKSolverFABRIKRoot
            IKSolverFABRIKRootInspector.AddInspector(solver, !Application.isPlaying);

            // Warning box
            string message = string.Empty;

            if (!script.solver.IsValid(ref message))
            {
                AddWarningBox(message);
            }
        }
Ejemplo n.º 3
0
 protected override void AddInspector()
 {
     // Draw the inspector for IKSolverFABRIKRoot
     IKSolverFABRIKRootInspector.AddInspector(solver, !Application.isPlaying, content);
 }