UnityEditor.Graphs.ParameterControllerView.DoParameterList C# (CSharp) Метод

DoParameterList() приватный Метод

private DoParameterList ( ) : void
Результат void
        private void DoParameterList()
        {
            int index = this.m_ParameterList.index;
            this.m_ParameterList.list = this.activeTree;
            if (index >= this.activeTree.Length)
            {
                index = this.activeTree.Length - 1;
            }
            this.m_ParameterList.index = index;
            this.m_ParameterList.draggable = !this.m_Host.liveLink && (this.activeTree == this.m_Tree);
            string kFloatFieldFormatString = EditorGUI.kFloatFieldFormatString;
            EditorGUI.kFloatFieldFormatString = "f1";
            this.m_ScrollPosition = GUILayout.BeginScrollView(this.m_ScrollPosition, new GUILayoutOption[0]);
            EditorGUI.BeginChangeCheck();
            this.m_ParameterList.DoLayoutList();
            if (EditorGUI.EndChangeCheck() && !this.m_Host.liveLink)
            {
                Element[] tree = this.m_Tree;
                UnityEngine.AnimatorControllerParameter[] parameterArray = new UnityEngine.AnimatorControllerParameter[tree.Length];
                for (int i = 0; i < tree.Length; i++)
                {
                    parameterArray[i] = tree[i].m_Parameter;
                }
                this.m_Host.animatorController.parameters = parameterArray;
            }
            GUILayout.EndScrollView();
            EditorGUI.kFloatFieldFormatString = kFloatFieldFormatString;
        }