Third Person Cover Shooter  1.6
CoverShooter.CharacterSelector Class Reference

Changes active character when pressed. More...

Inheritance diagram for CoverShooter.CharacterSelector:
CoverShooter.PressButton

Public Attributes

CharacterSwitcher Switcher
 Character switcher whose active character is managed. More...
 
int Index
 Character index inside the switcher. More...
 
GameObject [] Active
 Objects that are activated when the character is active. More...
 
GameObject [] Inactive
 Objects that are activated when the character is not active. More...
 
GameObject Dialog
 A dialog object to activate if the character was already selected when pressed. 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

Changes active character when pressed.

Member Function Documentation

◆ OnPress()

override void CoverShooter.CharacterSelector.OnPress ( )
protectedvirtual

Reimplemented from CoverShooter.PressButton.

Member Data Documentation

◆ Active

GameObject [] CoverShooter.CharacterSelector.Active

Objects that are activated when the character is active.

◆ Dialog

GameObject CoverShooter.CharacterSelector.Dialog

A dialog object to activate if the character was already selected when pressed.

◆ Inactive

GameObject [] CoverShooter.CharacterSelector.Inactive

Objects that are activated when the character is not active.

◆ Index

int CoverShooter.CharacterSelector.Index

Character index inside the switcher.

◆ Switcher

CharacterSwitcher CoverShooter.CharacterSelector.Switcher

Character switcher whose active character is managed.


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