Class AutoBattleSettings
Framework options. Helps editor methods to put references in the Inspector automatically.
Namespace: AutoBattleFramework.Utility
Assembly: cs.temp.dll.dll
Syntax
public class AutoBattleSettings : ScriptableObjectFields
BattlePositionEditorSize
Default size of cells in the ScriptableBattlePosition Inspector.
Declaration
public float BattlePositionEditorSizeField Value
| Type | Description | 
|---|---|
| Single | 
defaultAnimatorController
Default animator controler used when creating a new character in the editor.
Declaration
public RuntimeAnimatorController defaultAnimatorControllerField Value
| Type | Description | 
|---|---|
| RuntimeAnimatorController | 
defaultCharacterShopItemUI
Default panel to be displayed in the shop when creating a new character in the editor.
Declaration
public ShopItemUI defaultCharacterShopItemUIField Value
| Type | Description | 
|---|---|
| ShopItemUI | 
defaultHealthBar
Default health bar used when creating a new character in the editor.
Declaration
public CharacterHealthUI defaultHealthBarField Value
| Type | Description | 
|---|---|
| CharacterHealthUI | 
defaultHexTexture
Default texture used in ScriptableBattlePosition editor when the BattleGrid is Hex.
Declaration
public Texture defaultHexTextureField Value
| Type | Description | 
|---|---|
| Texture | 
defaultSquaredTexture
Default texture used in ScriptableBattlePosition editor when the BattleGrid is Hex.
Declaration
public Texture defaultSquaredTextureField Value
| Type | Description | 
|---|---|
| Texture | 
defaultStageEmptyUIPrefab
Default Stage Empty prefab.
Declaration
public GameObject defaultStageEmptyUIPrefabField Value
| Type | Description | 
|---|---|
| GameObject | 
NumberToFusion
Default number of same characters to perform a fusion. Used when creating an GameCharacterFusion to level up characters using the menu action shortcuts.
Declaration
public int NumberToFusionField Value
| Type | Description | 
|---|---|
| Int32 | 
SettingsPath
Address within the project where the option object will be included. Change the address in case of moving the object to another folder.
Declaration
public const string SettingsPath = "Assets/Auto-Battle Framework/Scripts/Editor/Settings/AutoBattleSettings.asset"Field Value
| Type | Description | 
|---|---|
| String | 
Methods
GetOrCreateSettings()
Returns the framework options. If they do not exist, create the new file at SettingsPath address.
Declaration
public static AutoBattleSettings GetOrCreateSettings()Returns
| Type | Description | 
|---|---|
| AutoBattleSettings | Framework options object. |