Third Person Cover Shooter  1.6
CoverShooter.ActionButton Class Reference

Starts an AI action when pressed. More...

Inheritance diagram for CoverShooter.ActionButton:
CoverShooter.PressButton

Public Attributes

CharacterSwitcher Switcher
 Character switcher to get the character object from. More...
 
StrategyInput Strategy
 Strategy input object that is given a command. More...
 
int CharacterIndex
 Character index inside the switcher. More...
 
int ActionIndex
 Action to be performed. More...
 
RectTransform FillOverride
 UI object whose height is managed during the cooldown. More...
 
- Public Attributes inherited from CoverShooter.PressButton
PressButtonSettings Button = PressButtonSettings.Default()
 

Protected Member Functions

override void OnPress ()
 
- Protected Member Functions inherited from CoverShooter.PressButton
virtual void OnRelease ()
 
virtual void OnEnter ()
 
virtual void OnExit ()
 

Additional Inherited Members

- Public Member Functions inherited from CoverShooter.PressButton
void OnPointerDown (PointerEventData eventData)
 
void OnPointerUp (PointerEventData eventData)
 
void OnPointerEnter (PointerEventData eventData)
 
void OnPointerExit (PointerEventData eventData)
 

Detailed Description

Starts an AI action when pressed.

Displays cooldown as a bar being filled.

Member Function Documentation

◆ OnPress()

override void CoverShooter.ActionButton.OnPress ( )
protectedvirtual

Reimplemented from CoverShooter.PressButton.

Member Data Documentation

◆ ActionIndex

int CoverShooter.ActionButton.ActionIndex

Action to be performed.

◆ CharacterIndex

int CoverShooter.ActionButton.CharacterIndex

Character index inside the switcher.

◆ FillOverride

RectTransform CoverShooter.ActionButton.FillOverride

UI object whose height is managed during the cooldown.

If none a button target graphic is used.

◆ Strategy

StrategyInput CoverShooter.ActionButton.Strategy

Strategy input object that is given a command.

◆ Switcher

CharacterSwitcher CoverShooter.ActionButton.Switcher

Character switcher to get the character object from.


The documentation for this class was generated from the following file: