Class FirearmObstacleHandler
Inheritance
FirearmObstacleHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NeoFPS.ModularFirearms
Assembly: NeoFPS.dll
Syntax
public abstract class FirearmObstacleHandler : MonoBehaviour
Properties
firearm
Declaration
protected ModularFirearm firearm { get; }
Property Value
| Type | Description |
|---|---|
| ModularFirearm |
isBlocked
Declaration
public bool isBlocked { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
Awake()
Declaration
protected virtual void Awake()
FixedUpdate()
Declaration
protected virtual void FixedUpdate()
GetTriggerBlockFrames()
Declaration
protected virtual int GetTriggerBlockFrames()
Returns
| Type | Description |
|---|---|
| System.Int32 |
OnBlockedChanged(Boolean)
Declaration
protected abstract void OnBlockedChanged(bool blocked)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | blocked |
OnDisable()
Declaration
protected virtual void OnDisable()
OnValidate()
Declaration
protected virtual void OnValidate()
OnWielderChanged(ICharacter)
Declaration
protected virtual void OnWielderChanged(ICharacter wielder)
Parameters
| Type | Name | Description |
|---|---|---|
| ICharacter | wielder |