Пример #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);
            }
        }
Пример #3
0
 void OnSceneGUI()
 {
     // Draw the scene veiw helpers
     IKSolverFABRIKRootInspector.AddScene(script.solver, Color.cyan, true, ref selectedChain);
 }
Пример #4
0
 protected override void AddInspector()
 {
     // Draw the inspector for IKSolverFABRIKRoot
     IKSolverFABRIKRootInspector.AddInspector(solver, !Application.isPlaying, content);
 }
Пример #5
0
 protected override SerializedContent[] FindContent()
 {
     return(IKSolverFABRIKRootInspector.FindContent(solver));
 }