Third Person Cover Shooter  1.6
CoverShooter.AutoActionToggle Class Reference

Toggles whether an AI action is performed automatically or manually. More...

Inheritance diagram for CoverShooter.AutoActionToggle:
CoverShooter.PressButton

Public Attributes

CharacterSwitcher Switcher
 Character switcher whose active character is managed. More...
 
int Action
 Action index for the main character. More...
 
GameObject [] Automatic
 Objects that are activated when the action is automatic. More...
 
GameObject [] Manual
 Objects that are activated when the action is not automatic. 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

Toggles whether an AI action is performed automatically or manually.

Manages other UI objects based on the value.

Member Function Documentation

◆ OnPress()

override void CoverShooter.AutoActionToggle.OnPress ( )
protectedvirtual

Reimplemented from CoverShooter.PressButton.

Member Data Documentation

◆ Action

int CoverShooter.AutoActionToggle.Action

Action index for the main character.

◆ Automatic

GameObject [] CoverShooter.AutoActionToggle.Automatic

Objects that are activated when the action is automatic.

◆ Manual

GameObject [] CoverShooter.AutoActionToggle.Manual

Objects that are activated when the action is not automatic.

◆ Switcher

CharacterSwitcher CoverShooter.AutoActionToggle.Switcher

Character switcher whose active character is managed.


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