• Manual
  • Scripting API
  • Changelog
  • Contact
Search Results for

    Show / Hide Table of Contents
    • BattleBehaviour
      • BattleBehaviour.Fusion
        • FusionManager
        • GameCharacterFusion
      • Battle
      • BossSize
      • CharacterGroup
      • ScriptableBattlePosition
      • ScriptableBattleStage
      • TeamData
      • BattleBehaviour.Backup
        • BackupState
        • BattleBackup
    • GameActors
      • GameActor
      • GameCharacter
      • GameCharacter.AIState
      • GameItem
    • States
      • BattleState
      • ChangeStageState
      • FightState
      • FightState.LoseCondition
      • FightState.WinCondition
      • PreparationState
      • ResetSceneState
    • Battlefield
      • BattleGrid
      • BattleGrid.GridType
      • Bench
      • GridCell
      • GridCellEffect
      • SellZone
    • BattleUI
      • CharacterEnergyUI
      • CharacterHealthUI
      • CharacterStatsUI
      • DamagePopup
      • ItemDescriptionUI
      • ShopExpBarUI
      • StageUI
      • TraitDescriptionUI
      • TraitListUI
      • TraitListUI.OrderBy
      • TraitStatsUI
      • TraitUI
    • EditorScripts
      • BattleGridEditor
      • BattlePositionEditor
      • BenchEditor
      • GameCharacterEditor
      • NetworkObjectsListEditor
      • NFO_GameCharacterEditor
      • NGO_MenuActions
      • ReadOnlyDrawer
    • Formulas
      • BattleFormulas
      • BattleFormulas.DamageType
    • Movement
      • ApproximateAstarMovement
      • ExactAstarMovement
      • IBattleMovement
      • PathFinding2D
    • Multiplayer
      • BattleBehaviour
        • NetworkObjectList
        • StatsStruct
        • GameActors
          • NGO_GameCharacter
          • NGO_GameItem
        • Player
          • GamePlayer
          • IPlayer
        • States
          • MP_ConnectionState
          • MP_FightState
          • MP_PreparationState
      • ClientTransform
        • ClientNetworkTransform
      • EditorScripts
        • NGO_MenuActions
      • GamingServices
        • GamingServices
          • GamingServices.RelayHostData
          • GamingServices.RelayJoinData
      • UI
        • NetworkManagerUI
    • Shop
      • ScriptableShopItem
      • ShopCharacter
      • ShopGameItem
      • ShopItemInfo
      • ShopLevel
      • ShopLevelManager
      • ShopManager
      • ShopGUI
        • CurrencyUI
        • EquippedItemDescriptionUI
        • ShopItemUI
        • ShopUI
        • SpecialAttackDescriptionUI
        • Timer
      • ShopList
        • IShopList
        • ScriptableDeckList
        • ScriptableGroupItemList
        • ScriptableIndividualItemList
        • ShopItemList
    • Skills
      • ApplyBuffOnHitEffect
      • ApplyDebuffOnHitEffect
      • ArrowEffect
      • BuffEffect
      • BuffEffectInfo
      • FixedDamageOverTimeEffect
      • HealthMeteoriteAllEffect
      • HealthStealEffect
      • IAttackEffect
      • MeleeEffect
      • MeteoriteEffect
      • OnHitEffect
      • Projectile
      • RangedEffect
      • SimpleBuffEffect
      • SwordEffect
      • VariableDamageOverTimeEffect
    • Stats
      • CharacterStats
      • CharacterStats.CharacterStat
      • ItemModificator
      • StatModificator
      • StatsModificator
      • StatsModificator.ModificatorType
      • Trait
      • TraitOption
      • TraitOption.TraitTarget
    • Utility
      • AutoBattleSettings
      • ReadOnlyAttribute
      • UIUtility

    Class Bench

    The same as a grid, but is used for easy differentiation between the BattleGrid and the bench. The Custom Inspector allows to create a bench quickly.

    Inheritance
    Object
    BattleGrid
    Bench
    Inherited Members
    BattleGrid.GridShape
    BattleGrid.GridSquared
    BattleGrid.GridHex
    BattleGrid.separation
    BattleGrid.RotateCells
    BattleGrid.CellScale
    BattleGrid.GridWidth
    BattleGrid.GridHeight
    BattleGrid.Team1RowNumber
    BattleGrid.Team1EmptyCell
    BattleGrid.Team1OccupiedCell
    BattleGrid.Team1Drag
    BattleGrid.Team2EmptyCell
    BattleGrid.Team2OccupiedCell
    BattleGrid.Team2Drag
    BattleGrid.GridCells
    BattleGrid.SpawnGridEditor()
    BattleGrid.UpdateColors()
    BattleGrid.CalculateDistances()
    BattleGrid.FindHexNeighbors()
    BattleGrid.FindSquaredNeighbors()
    BattleGrid.ShowCells(Boolean)
    Namespace: AutoBattleFramework.Battlefield
    Assembly: cs.temp.dll.dll
    Syntax
    public class Bench : BattleGrid

    Methods

    GetGameCharacterInBench()

    Get all GameCharacters in the bench.

    Declaration
    public List<GameCharacter> GetGameCharacterInBench()
    Returns
    Type Description
    List<GameCharacter>

    List of GameCharacters in the bench.

    GetGameItemsInBench()

    Get all GameItems in the bench.

    Declaration
    public List<GameItem> GetGameItemsInBench()
    Returns
    Type Description
    List<GameItem>

    List of GameItems in the bench.

    GetShopItemInBench()

    Get all ShopItems in the bench.

    Declaration
    public List<GameActor> GetShopItemInBench()
    Returns
    Type Description
    List<GameActor>

    List of ShopItems in the bench.

    In This Article
    Back to top Auto-Battle Framework documentation