コード例 #1
0
    private void OnGUI()
    {
        _languageDatatableDrawer.SetLanguageDatatableSerializedObject(_languageDatatableSo);

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