Third Person Cover Shooter
1.6
|
On touch makes the character pick up a grenade. More...
Public Attributes | |
CharacterMotor | Motor |
Motor which will be told to use grenades when pressed. More... | |
bool | HideWhenNone = false |
Determines if the bar is hidden when there is no target. More... | |
RectTransform | BackgroundRect |
Link to the object that draws the background of the bar. More... | |
RectTransform | Icon |
Link to the icon object. More... | |
Text | Name |
Link to the object that will be used to display a gun's name. More... | |
Color | ActiveColor = Color.white |
Color to use on elements when grenades are selected. More... | |
Color | InactiveColor = new Color(1, 1, 1, 0.6f) |
Color to use on elements when grenades are not selected. 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) |
On touch makes the character pick up a grenade.
|
protectedvirtual |
Reimplemented from CoverShooter.PressButton.
Color CoverShooter.GrenadeBar.ActiveColor = Color.white |
Color to use on elements when grenades are selected.
RectTransform CoverShooter.GrenadeBar.BackgroundRect |
Link to the object that draws the background of the bar.
bool CoverShooter.GrenadeBar.HideWhenNone = false |
Determines if the bar is hidden when there is no target.
RectTransform CoverShooter.GrenadeBar.Icon |
Link to the icon object.
Color CoverShooter.GrenadeBar.InactiveColor = new Color(1, 1, 1, 0.6f) |
Color to use on elements when grenades are not selected.
CharacterMotor CoverShooter.GrenadeBar.Motor |
Motor which will be told to use grenades when pressed.
Text CoverShooter.GrenadeBar.Name |
Link to the object that will be used to display a gun's name.