Third Person Cover Shooter  1.6
CoverShooter.BaseTab Class Reference

Button that actives objects when pressed. More...

Inheritance diagram for CoverShooter.BaseTab:
CoverShooter.PressButton

Public Attributes

GameObject Object
 Object to activate when the tab is on. More...
 
GameObject [] Active
 Objects that are activated when the tab is active. More...
 
GameObject [] Inactive
 Objects that are activated when the tab is active. More...
 
bool DeactivateSiblings = true
 Should the neighbouring objects be disabled when the target object is active. 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

Button that actives objects when pressed.

Can deactivate sibling objects of the target Object.

Member Function Documentation

◆ OnPress()

override void CoverShooter.BaseTab.OnPress ( )
protectedvirtual

Reimplemented from CoverShooter.PressButton.

Member Data Documentation

◆ Active

GameObject [] CoverShooter.BaseTab.Active

Objects that are activated when the tab is active.

◆ DeactivateSiblings

bool CoverShooter.BaseTab.DeactivateSiblings = true

Should the neighbouring objects be disabled when the target object is active.

◆ Inactive

GameObject [] CoverShooter.BaseTab.Inactive

Objects that are activated when the tab is active.

◆ Object

GameObject CoverShooter.BaseTab.Object

Object to activate when the tab is on.


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