Class EditableProfile
Base class for EditorProfile and BuildProfile to make sharing common editor code easier.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
EditableProfile
Namespace: sttz.Trimmer.Editor
Assembly: Trimmer-Editor.dll
Syntax
public abstract class EditableProfile : ScriptableObject
Properties
| Improve this Doc View SourceEditProfile
The runtime profile used to inspect the profile in the editor.
Declaration
public abstract RuntimeProfile EditProfile { get; }
Property Value
Type | Description |
---|---|
RuntimeProfile |
Store
The store backing the profile.
Declaration
public abstract ValueStore Store { get; }
Property Value
Type | Description |
---|---|
ValueStore |
Methods
| Improve this Doc View SourceCopyAsIniFile()
Declaration
[ContextMenu("Copy As Ini File")]
public void CopyAsIniFile()
EditOption(Option)
Show the edit GUI for an Option.
Declaration
public abstract void EditOption(Option option)
Parameters
Type | Name | Description |
---|---|---|
Option | option | The Option to be edited |
PasteFromIniFile()
Declaration
[ContextMenu("Paste From Ini File")]
public void PasteFromIniFile()
SaveIfNeeded()
Callback to save the profile if it has been changed.
Declaration
public abstract void SaveIfNeeded()