Definitto 1.1.0
The essential defines manager for the Unity game engine. API reference.
Classes | Public Member Functions | Public Attributes | Properties | List of all members
Turbanov.Toolworks.Definitto.DefinittoEditorSettings Class Reference

The Definitto settings for the Editor-only functionality. More...

Inheritance diagram for Turbanov.Toolworks.Definitto.DefinittoEditorSettings:
Inheritance graph
[legend]
Collaboration diagram for Turbanov.Toolworks.Definitto.DefinittoEditorSettings:
Collaboration graph
[legend]

Classes

class  BrandingSettings
 Branding settings.
 
class  BuildTypeSettings
 Settings for each build type. More...
 
class  DefineSettings
 System settings for defines.
 
class  DefinesSettings
 System settings for defines.
 
class  PlatformSettings
 The settings for platform. More...
 
class  RSPSettings
 System settings for RSP import.
 
class  StylesSettings
 General styles.
 

Public Member Functions

GUIContent [] GetBuildTypeItems (BuildTypeId selected)
 Get the build type toolbar items. Cached. More...
 

Public Attributes

const string AssetGUID = "def14111085bf99468741972683fa88e"
 The GUID of the editor settings. You can check if Definitto is available in the project by using the following code: More...
 
Texture2D SettingsAssetIcon
 The icon for DefinittoSettings assets. More...
 
Texture2D EditorSettingsAssetIcon
 The icon for DefinittoEditorSettings assets. More...
 
Texture2D PlatformSelection
 An image to highlight platform selection. More...
 
DefinittoTutorial Tutorial
 The data for the tutorial. More...
 

Properties

IEnumerable< PlatformSettingsPlatforms [get]
 The settings for the platforms. More...
 
IEnumerable< BuildTypeSettingsBuildTypes [get]
 The definitions of the build types. More...
 
bool IsFullyLoaded [get]
 Were the editor settings actually fully loaded (deserialized)? More...
 
static bool HasInstance [get]
 Is there an active fully loaded instance currently? More...
 
static DefinittoEditorSettings Instance [get, set]
 The instance of the settings singleton. More...
 
PlatformSettings this[PlatformId id] [get]
 Get the platform settings by its identifier. Cached. More...
 
PlatformSettings this[BuildTarget buildTarget] [get]
 Find a platform settings by the build target. More...
 
PlatformSettings this[BuildTargetGroup group] [get]
 Get the system settings for the build target group. More...
 
BuildTypeSettings this[BuildTypeId id] [get]
 Get the build type settings by its identifier. Cached. More...
 

Detailed Description

The Definitto settings for the Editor-only functionality.

Member Function Documentation

◆ GetBuildTypeItems()

GUIContent [] Turbanov.Toolworks.Definitto.DefinittoEditorSettings.GetBuildTypeItems ( BuildTypeId  selected)

Get the build type toolbar items. Cached.

Member Data Documentation

◆ AssetGUID

const string Turbanov.Toolworks.Definitto.DefinittoEditorSettings.AssetGUID = "def14111085bf99468741972683fa88e"

The GUID of the editor settings. You can check if Definitto is available in the project by using the following code:

if (!string.IsNullOrEmpty(AssetDatabase.GUIDToAssetPath(DefinittoEditorSettings.AssetGUID))) { // Definitto is available in the project. }

◆ EditorSettingsAssetIcon

Texture2D Turbanov.Toolworks.Definitto.DefinittoEditorSettings.EditorSettingsAssetIcon

The icon for DefinittoEditorSettings assets.

◆ PlatformSelection

Texture2D Turbanov.Toolworks.Definitto.DefinittoEditorSettings.PlatformSelection

An image to highlight platform selection.

◆ SettingsAssetIcon

Texture2D Turbanov.Toolworks.Definitto.DefinittoEditorSettings.SettingsAssetIcon

The icon for DefinittoSettings assets.

◆ Tutorial

DefinittoTutorial Turbanov.Toolworks.Definitto.DefinittoEditorSettings.Tutorial

The data for the tutorial.

Property Documentation

◆ BuildTypes

IEnumerable<BuildTypeSettings> Turbanov.Toolworks.Definitto.DefinittoEditorSettings.BuildTypes
get

The definitions of the build types.

◆ HasInstance

bool Turbanov.Toolworks.Definitto.DefinittoEditorSettings.HasInstance
staticget

Is there an active fully loaded instance currently?

◆ Instance

DefinittoEditorSettings Turbanov.Toolworks.Definitto.DefinittoEditorSettings.Instance
staticgetset

The instance of the settings singleton.

◆ IsFullyLoaded

bool Turbanov.Toolworks.Definitto.DefinittoEditorSettings.IsFullyLoaded
get

Were the editor settings actually fully loaded (deserialized)?

true if this instance is fully loaded; otherwise, false.

◆ Platforms

IEnumerable<PlatformSettings> Turbanov.Toolworks.Definitto.DefinittoEditorSettings.Platforms
get

The settings for the platforms.

◆ this[BuildTarget buildTarget]

PlatformSettings Turbanov.Toolworks.Definitto.DefinittoEditorSettings.this[BuildTarget buildTarget]
get

Find a platform settings by the build target.

Parameters
buildTargetThe build target to find by.
Returns
The platform settings for the build target or
default(PlatformSystemSettings)
, if no settings for that target are available.

◆ this[BuildTargetGroup group]

PlatformSettings Turbanov.Toolworks.Definitto.DefinittoEditorSettings.this[BuildTargetGroup group]
get

Get the system settings for the build target group.

Parameters
groupThe build target group.
Returns
The system settings for the group or
null
, if no settings for that group are available.

◆ this[BuildTypeId id]

BuildTypeSettings Turbanov.Toolworks.Definitto.DefinittoEditorSettings.this[BuildTypeId id]
get

Get the build type settings by its identifier. Cached.

Parameters
idThe build type to get the settings for.
Returns
The settings for the build type.

◆ this[PlatformId id]

PlatformSettings Turbanov.Toolworks.Definitto.DefinittoEditorSettings.this[PlatformId id]
get

Get the platform settings by its identifier. Cached.

Parameters
platformThe platform to get settings for.
Returns
The system settings for the platform or
null
, if no settings for that platform are available.

The documentation for this class was generated from the following file: