Table of Contents

Class Preferences

Namespace
PAC
public static class Preferences
Inheritance
Preferences
Inherited Members

Fields

startupAnimationFramerate

public static readonly Preferences.Preference<int> startupAnimationFramerate

Field Value

Preferences.Preference<int>

startupBrushSize

public static readonly Preferences.Preference<int> startupBrushSize

Field Value

Preferences.Preference<int>

startupFileHeight

public static readonly Preferences.Preference<int> startupFileHeight

Field Value

Preferences.Preference<int>

startupFileWidth

public static readonly Preferences.Preference<int> startupFileWidth

Field Value

Preferences.Preference<int>

startupPrimaryColour

public static readonly Preferences.Preference<Color> startupPrimaryColour

Field Value

Preferences.Preference<Color>

startupSecondaryColour

public static readonly Preferences.Preference<Color> startupSecondaryColour

Field Value

Preferences.Preference<Color>

transparentCheckerboardColour1

This is the colour that will be in the bottom left / top right of the checkerboard.

public static readonly Preferences.Preference<Color32> transparentCheckerboardColour1

Field Value

Preferences.Preference<Color32>

transparentCheckerboardColour2

This is the colour that will be in the bottom right / top left of the checkerboard.

public static readonly Preferences.Preference<Color32> transparentCheckerboardColour2

Field Value

Preferences.Preference<Color32>

Methods

CreatePreference(string, string, Color)

public static Preferences.Preference<Color> CreatePreference(string displayName, string playerPrefsKey, Color defaultValue)

Parameters

displayName string
playerPrefsKey string
defaultValue Color

Returns

Preferences.Preference<Color>

CreatePreference(string, string, Color32)

public static Preferences.Preference<Color32> CreatePreference(string displayName, string playerPrefsKey, Color32 defaultValue)

Parameters

displayName string
playerPrefsKey string
defaultValue Color32

Returns

Preferences.Preference<Color32>

CreatePreference(string, string, int, int, int)

public static Preferences.Preference<int> CreatePreference(string displayName, string playerPrefsKey, int defaultValue, int minValue = -2147483648, int maxValue = 2147483647)

Parameters

displayName string
playerPrefsKey string
defaultValue int
minValue int
maxValue int

Returns

Preferences.Preference<int>