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 : ScriptableObject
Fields
BattlePositionEditorSize
Default size of cells in the ScriptableBattlePosition Inspector.
Declaration
public float BattlePositionEditorSize
Field Value
Type | Description |
---|---|
Single |
defaultAnimatorController
Default animator controler used when creating a new character in the editor.
Declaration
public RuntimeAnimatorController defaultAnimatorController
Field Value
Type | Description |
---|---|
RuntimeAnimatorController |
defaultCharacterShopItemUI
Default panel to be displayed in the shop when creating a new character in the editor.
Declaration
public ShopItemUI defaultCharacterShopItemUI
Field Value
Type | Description |
---|---|
ShopItemUI |
defaultHealthBar
Default health bar used when creating a new character in the editor.
Declaration
public CharacterHealthUI defaultHealthBar
Field Value
Type | Description |
---|---|
CharacterHealthUI |
defaultHexTexture
Default texture used in ScriptableBattlePosition editor when the BattleGrid is Hex.
Declaration
public Texture defaultHexTexture
Field Value
Type | Description |
---|---|
Texture |
defaultSquaredTexture
Default texture used in ScriptableBattlePosition editor when the BattleGrid is Hex.
Declaration
public Texture defaultSquaredTexture
Field Value
Type | Description |
---|---|
Texture |
defaultStageEmptyUIPrefab
Default Stage Empty prefab.
Declaration
public GameObject defaultStageEmptyUIPrefab
Field 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 NumberToFusion
Field 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. |