跳到主要内容

Class ConfigEditor

Provides editing support for single config file.

Properties

config

protected T config { get; private set; }

configPath

The path of config (Relative to project folder).

protected abstract string configPath { get; }

Methods

Add(VisualElement visualElement)

public void Add(VisualElement visualElement)

AddElement<K>(K visualElement)

public K AddElement<K>(K visualElement)

OnCreated()

protected override sealed void OnCreated()

OnSaved()

protected override sealed bool OnSaved()

OnEditorCreated()

protected abstract void OnEditorCreated()

SaveConfig()

protected void SaveConfig()