Show / Hide Table of Contents

Class EditableProfile

Base class for EditorProfile and BuildProfile to make sharing common editor code easier.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
EditableProfile
BuildProfile
EditorProfile
Namespace: sttz.Trimmer.Editor
Assembly: Trimmer-Editor.dll
Syntax
public abstract class EditableProfile : ScriptableObject

Properties

| Improve this Doc View Source

EditProfile

The runtime profile used to inspect the profile in the editor.

Declaration
public abstract RuntimeProfile EditProfile { get; }
Property Value
Type Description
RuntimeProfile
| Improve this Doc View Source

Store

The store backing the profile.

Declaration
public abstract ValueStore Store { get; }
Property Value
Type Description
ValueStore

Methods

| Improve this Doc View Source

CopyAsIniFile()

Declaration
[ContextMenu("Copy As Ini File")]
public void CopyAsIniFile()
| Improve this Doc View Source

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

| Improve this Doc View Source

PasteFromIniFile()

Declaration
[ContextMenu("Paste From Ini File")]
public void PasteFromIniFile()
| Improve this Doc View Source

SaveIfNeeded()

Callback to save the profile if it has been changed.

Declaration
public abstract void SaveIfNeeded()
  • Improve this Doc
  • View Source
Back to top © 2017 Adrian Stutz