Class WeaponManager
Support for mouse attack gestures, weapon state firing, and damage transfer.
Should only be attached to player game object.
Inheritance
WeaponManager
Assembly: Assembly-CSharp.dll
Syntax
public class WeaponManager : MonoBehaviour
Fields
|
Improve this Doc
View Source
ArrowMissilePrefab
Declaration
public DaggerfallMissile ArrowMissilePrefab
Field Value
|
Improve this Doc
View Source
AttackThreshold
Declaration
[Range(0F, 1F)]
public float AttackThreshold
Field Value
|
Improve this Doc
View Source
ChanceToBeParried
Declaration
public float ChanceToBeParried
Field Value
|
Improve this Doc
View Source
defaultWeaponReach
Declaration
public const float defaultWeaponReach = 2.25F
Field Value
|
Improve this Doc
View Source
EquipCountdownLeftHand
Declaration
public float EquipCountdownLeftHand
Field Value
|
Improve this Doc
View Source
EquipCountdownRightHand
Declaration
public float EquipCountdownRightHand
Field Value
|
Improve this Doc
View Source
EquipDelayTimes
Declaration
public static ushort[] EquipDelayTimes
Field Value
|
Improve this Doc
View Source
ScreenWeapon
Declaration
public FPSWeapon ScreenWeapon
Field Value
|
Improve this Doc
View Source
Sheathed
Declaration
Field Value
|
Improve this Doc
View Source
SphereCastRadius
Declaration
public float SphereCastRadius
Field Value
Properties
|
Improve this Doc
View Source
LastBowUsed
Declaration
public DaggerfallUnityItem LastBowUsed { get; }
Property Value
|
Improve this Doc
View Source
UsingRightHand
Declaration
public bool UsingRightHand { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Reset()
Declaration
|
Improve this Doc
View Source
SheathWeapons()
Declaration
public void SheathWeapons()
|
Improve this Doc
View Source
ToggleSheath()
Declaration
public void ToggleSheath()
|
Improve this Doc
View Source
Declaration
public bool WeaponDamage(DaggerfallUnityItem strikingWeapon, bool arrowHit, bool arrowSummoned, Transform hitTransform, Vector3 impactPosition, Vector3 direction)
Parameters
Returns
|
Improve this Doc
View Source
WeaponEnvDamage(DaggerfallUnityItem, RaycastHit)
Declaration
public bool WeaponEnvDamage(DaggerfallUnityItem strikingWeapon, RaycastHit hit)
Parameters
Returns
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)