Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
Loading...
Searching...
No Matches
AC.ACEditorPrefs Class Reference
Inheritance diagram for AC.ACEditorPrefs:

Protected Types

enum  ExportEncoding { UTF8 , ASCII , Unicode }

Protected Attributes

int hierarchyIconOffset = 0
Color hotspotGizmoColor = new Color (1f, 1f, 0f, 0.6f)
Color triggerGizmoColor = new Color (1f, 0.3f, 0f, 0.8f)
Color collisionGizmoColor = new Color (0f, 1f, 1f, 0.8f)
Color pathGizmoColor = Color.blue
int menuItemsBeforeScroll = 15
CSVFormat csvFormat = CSVFormat.Standard
ShowHierarchyIcons showHierarchyIcons = ShowHierarchyIcons.All
int editorLabelWidth = 0
int actionNodeWidth = 300
bool disableInstaller = false
string installPath = DefaultInstallPath
int autosaveActionListsInterval = 10
bool retainExportFieldData = true
bool allowDragDrop = false
string actionListAssetPath = ""
ExportEncoding exportEncoding = ExportEncoding.UTF8

Properties

static int HierarchyIconOffset [get, set]
static int EditorLabelWidth [get, set]
static int ActionNodeWidth [get, set]
static ShowHierarchyIcons ShowHierarchyIcons [get, set]
static bool RetainExportFieldData [get, set]
static Color HotspotGizmoColor [get, set]
static Color TriggerGizmoColor [get, set]
static Color CollisionGizmoColor [get, set]
static Color PathGizmoColor [get, set]
static CSVFormat CSVFormat [get, set]
static int MenuItemsBeforeScroll [get, set]
static bool DisableInstaller [get, set]
static string InstallPath [get, set]
static int AutosaveActionListsInterval [get, set]
static bool AllowDragDrop [get, set]
static string ActionListAssetPath [get, set]
static Encoding Encoding [get]
static ExportEncoding DefaultExportEncoding [get]

Detailed Description

This script allows for the setting of Editor-wide preferences via Unity's Player settings window (Unity 2019.2 and later).

Property Documentation

◆ ActionNodeWidth

int AC.ACEditorPrefs.ActionNodeWidth
staticgetset

How wide Action nodes are in the ActionList Editor window

◆ CollisionGizmoColor

Color AC.ACEditorPrefs.CollisionGizmoColor
staticgetset

The colour to paint Collision gizmos with

◆ CSVFormat

CSVFormat AC.ACEditorPrefs.CSVFormat
staticgetset

The format to read/write CSV files

◆ DisableInstaller

bool AC.ACEditorPrefs.DisableInstaller
staticgetset

If True, checks for AC's required Input and Layer settings will be bypassed

◆ EditorLabelWidth

int AC.ACEditorPrefs.EditorLabelWidth
staticgetset

How wide to render labels in the Managers and other Editors

◆ HierarchyIconOffset

int AC.ACEditorPrefs.HierarchyIconOffset
staticgetset

A horizontal offset to apply to Hierarchy icons

◆ HotspotGizmoColor

Color AC.ACEditorPrefs.HotspotGizmoColor
staticgetset

The colour to paint Hotspot gizmos with

◆ MenuItemsBeforeScroll

int AC.ACEditorPrefs.MenuItemsBeforeScroll
staticgetset

How many menu items can be displayed in the Editor window before scrolling is required

◆ PathGizmoColor

Color AC.ACEditorPrefs.PathGizmoColor
staticgetset

The colour to paint Paths with

◆ RetainExportFieldData

bool AC.ACEditorPrefs.RetainExportFieldData
staticgetset

If True, then export wizards will retain their field data when re-opened

◆ ShowHierarchyIcons

ShowHierarchyIcons AC.ACEditorPrefs.ShowHierarchyIcons
staticgetset

If True, then icons can be displayed in the Hierarchy window

◆ TriggerGizmoColor

Color AC.ACEditorPrefs.TriggerGizmoColor
staticgetset

The colour to paint Trigger gizmos with