Exemple #1
0
        private void DrawDefinition(Rect rect, IList list, int index)
        {
            using (var changes = new EditorGUI.ChangeCheckScope())
            {
                var definition = VariableDefinitionDrawer.Draw(rect, _schema[index], _type, _availabilities);

                if (changes.changed)
                {
                    _schema[index] = definition;
                }
            }
        }
Exemple #2
0
 private float GetDefinitionHeight(int index)
 {
     return(VariableDefinitionDrawer.GetHeight(_schema[index], _type, _availabilities));
 }