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

                layout.AddElement(layoutIndex, guiDistributionField);
            }
        }
예제 #2
0
 private static extern void Internal_create3(GUIFloatDistributionField managedInstance, string style);
예제 #3
0
 private static extern void Internal_create2(GUIFloatDistributionField managedInstance, LocString labelText, string style);
예제 #4
0
 private static extern void Internal_create0(GUIFloatDistributionField managedInstance, ref GUIContent labelContent, string style);