Description of a weapon/tool held by a CharacterMotor.
More...
Description of a weapon/tool held by a CharacterMotor.
◆ Component< T >()
T CoverShooter.WeaponDescription.Component< T > |
( |
| ) |
|
Shortcut for getting a custom component attached to the item.
The value is cached for efficiency.
◆ Default()
◆ IsTheSame()
◆ Aiming
Is the character always aiming while the weapon is equipped.
◆ IsDualWielding
bool CoverShooter.WeaponDescription.IsDualWielding |
Should the character equip both hands if possible.
◆ IsHeavy
bool CoverShooter.WeaponDescription.IsHeavy |
Will the character be prevented from running, rolling, or jumping while the weapon is equipped.
◆ LeftHolster
GameObject CoverShooter.WeaponDescription.LeftHolster |
Link to the holstered left hand weapon object which is made visible when the weapon is not used.
◆ LeftItem
GameObject CoverShooter.WeaponDescription.LeftItem |
Link to the left hand weapon.
◆ PreferSwapping
bool CoverShooter.WeaponDescription.PreferSwapping |
Should the right and left weapons be swapped when mirroring.
◆ PreventArmLowering
bool CoverShooter.WeaponDescription.PreventArmLowering |
Is the character prevented from lowering arms when standing too close to a wall.
◆ PreventClimbing
bool CoverShooter.WeaponDescription.PreventClimbing |
Will the character be prevented from climbing while the weapon is equipped.
◆ PreventCovers
bool CoverShooter.WeaponDescription.PreventCovers |
Will the character use covers while using the weapon.
◆ RightHolster
GameObject CoverShooter.WeaponDescription.RightHolster |
Link to the holstered right hand weapon object which is made visible when the weapon is not used.
◆ RightItem
GameObject CoverShooter.WeaponDescription.RightItem |
Link to the right hand weapon.
◆ Shield
GameObject CoverShooter.WeaponDescription.Shield |
Shield that is enabled when the weapon is equipped.
◆ Flashlight
Flashlight CoverShooter.WeaponDescription.Flashlight |
|
get |
Link to the flashlight attached to the weapon.
◆ Gun
BaseGun CoverShooter.WeaponDescription.Gun |
|
get |
Shortcut for getting the gun component of the Item.
◆ HasMelee
bool CoverShooter.WeaponDescription.HasMelee |
|
get |
Does the weapon have a melee component on either left or right hand.
◆ IsNull
bool CoverShooter.WeaponDescription.IsNull |
|
get |
◆ LeftMelee
BaseMelee CoverShooter.WeaponDescription.LeftMelee |
|
get |
Shortcut for getting the melee component of the Item.
◆ Phone
Phone CoverShooter.WeaponDescription.Phone |
|
get |
Shortcut for getting the Phone component of the Item.
◆ Radio
Radio CoverShooter.WeaponDescription.Radio |
|
get |
Shortcut for getting the Radio component of the Item.
◆ RightMelee
BaseMelee CoverShooter.WeaponDescription.RightMelee |
|
get |
Shortcut for getting the melee component of the Item.
◆ Tool
Tool CoverShooter.WeaponDescription.Tool |
|
get |
First attached tool to the object.
◆ ToolType
ToolType CoverShooter.WeaponDescription.ToolType |
|
get |
Logical type of the tool attached.
The documentation for this struct was generated from the following file:
- E:/Projects/tpcs/Assets/ThirdPersonCoverShooter/Scripts/Weapons/Weapon.cs