📋
Ability & Combat Toolkit
  • ABC it's easy as 123! (WIP)
  • Introduction
    • Core Components
    • 5 Stages of An Ability
    • API & Integration with ABC
  • Global Portal & Character Creator
    • Character Creator
    • Global Portal
  • Ability Manager
    • Overview
    • Ability List & Control Panel
    • General Settings
      • Settings
      • Key & Combo
      • Effects
      • Additional Settings
    • Position & Travel
      • Position & Travel Type
      • Travelling
      • Additional Starting Positions
    • Collision & Impact
      • Collider
      • Collision
      • Impact
    • Aesthetic & Animation
      • Preparing
      • Initation
      • Ability End
      • Graphic To Start
      • Scrollable Ability
      • Reload
  • Controller Manager
    • Overview
    • Settings
      • General
      • Mana
      • Weapons
      • Scrollable & Reload
      • UI Icons
      • Diagnostic
    • Target Settings
      • Target & Soft Target todo
  • State Manager
    • Overview
    • Settings
      • General & Stats
      • Health
      • Hit Animations
      • Targeter Limitations
    • Effect Watcher
  • Integrations
    • Game Creator
Powered by GitBook
On this page
  • Mana GUI
  • Notable Settings

Was this helpful?

  1. Controller Manager
  2. Settings

Mana

PreviousGeneralNextWeapons

Last updated 3 years ago

Was this helpful?

The mana configuration is where you setup the mana for your characters including links to Unity UI elements to display health during play.

Abilities can be setup to when activating, stopping any activation if the character does not have the mana needed

Mana GUI

Mana GUI can be added which will show the Current and Max mana in sliders and text. This is updated during play.

Multiple sliders and text can be setup on the entity by pressing the “+ Add Mana GUI” button and can be removed by clicking the “X” for each mana GUI section.

Once a mana GUI section is added the following settings will appear:

Mana Slider

This setting requires a Unity Slider object which can be created from the Unity menu: GameObject > UI > Slider. The slider will show the current mana during play and will always make sure the max value matches the max mana to accurately represent how ‘filled’ the bar should be.

Only Show Sliders When Selected

If enabled then the sliders setup in this section will only show whilst the entity is being targeted by another ABC entity. If disabled then the sliders will always show.

Mana Text

Only Show Text When Selected

If enabled then the text object setup in this section will only show whilst the entity is being targeted by another ABC entity. If disabled then the text will always show.

Notable Settings

Setting

Description

Max Mana

This setting configures the max mana the entity can have. This accepts float values but will always be rounded to display a whole number in any game UI setup. The max mana can be changed during play from ability effects.

Current Mana

Setting displays the current mana of the entity, this will never go below 0 or higher then the max mana . This value will change during play if an ability uses mana.

Regen Per Second

This setting determines how much mana is recovered every second. This accepts floats values. If 0 then no health is recovered.

Full Mana On Enable

If ticked then the entities current health will always be full to the max whenever the object is enabled during play. Useful for objects that ‘respawn’.

It is highly recommended to read the tooltips in the blue boxes for a full description on what each setting does

If the load default icon is clicked then the ABC_GUI default prefab will be added to the Hierarchy and the "sliderMana" object will be added to the setting. This example can be used, referenced or edited.

This setting which requires a Unity text object which can be created from the Unity menu: GameObject > UI > Text. This object can be placed anywhere on the screen and will display the current health and the max health in the following format: CurrentMana/MaMana If the load default icon ​ is clicked then the ABC_GUI default prefab will be added to the Hierarchy and the "txtManaValue" object will be added to the setting. This example can be used, referenced or edited.

use mana
Image showing the Load Default Button
Image showing the Load Default Button