private void OnGUI() { _languageDatatableDrawer.SetLanguageDatatableSerializedObject(_languageDatatableSo); EditorGUI.BeginChangeCheck(); { _languageDatatableDrawer.OnGUI(new Rect(0, 0, position.width, position.height)); } if (EditorGUI.EndChangeCheck()) { _languageDatatableSo.ApplyModifiedProperties(); } }
public override void OnInspectorGUI() { _languageDatatableDrawer.SetLanguageDatatableSerializedObject(serializedObject); //_languageDatatableDrawer.OnGUI(new Rect(0, 0, Screen.width, Screen.height)); }