/// <inheritoc/>
        protected internal override void Initialize(int layoutIndex)
        {
            if (property != null)
            {
                guiDistributionField              = new GUIVector3DistributionField(new GUIContent(title));
                guiDistributionField.OnChanged   += OnFieldValueChanged;
                guiDistributionField.OnConfirmed += OnFieldValueConfirm;
                guiDistributionField.OnFocusLost += OnFieldValueConfirm;

                layout.AddElement(layoutIndex, guiDistributionField);
            }
        }
Exemplo n.º 2
0
 private static extern void Internal_create3(GUIVector3DistributionField managedInstance, string style);
Exemplo n.º 3
0
 private static extern void Internal_create2(GUIVector3DistributionField managedInstance, LocString labelText, string style);
Exemplo n.º 4
0
 private static extern void Internal_create0(GUIVector3DistributionField managedInstance, ref GUIContent labelContent, string style);