UnityEditor.ExposeTransformEditor.TransformPathSelected C# (CSharp) Method

TransformPathSelected() private method

private TransformPathSelected ( object userData, string options, int selected ) : void
userData object
options string
selected int
return void
        private void TransformPathSelected(object userData, string[] options, int selected)
        {
            string str = options[selected];
            for (int i = 0; i < this.m_ExtraExposedTransformPaths.arraySize; i++)
            {
                if (this.m_ExtraExposedTransformPaths.GetArrayElementAtIndex(i).stringValue == str)
                {
                    return;
                }
            }
            this.m_ExtraExposedTransformPaths.InsertArrayElementAtIndex(this.m_ExtraExposedTransformPaths.arraySize);
            this.m_ExtraExposedTransformPaths.GetArrayElementAtIndex(this.m_ExtraExposedTransformPaths.arraySize - 1).stringValue = options[selected];
        }
    }