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

                layout.AddElement(layoutIndex, guiDistributionField);
            }
        }
 private static extern void Internal_create3(GUIVector2DistributionField managedInstance, string style);
 private static extern void Internal_create2(GUIVector2DistributionField managedInstance, LocString labelText, string style);
 private static extern void Internal_create0(GUIVector2DistributionField managedInstance, ref GUIContent labelContent, string style);