Class BaseWieldableObstacleHandler
Inheritance
BaseWieldableObstacleHandler
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
Assembly: NeoFPS.dll
Syntax
public abstract class BaseWieldableObstacleHandler : MonoBehaviour
Properties
isBlocking
Declaration
public bool isBlocking { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
isObstructed
Declaration
public bool isObstructed { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
wieldable
Declaration
protected IWieldable wieldable { get; }
Property Value
| Type | Description |
|---|---|
| IWieldable |
Methods
Awake()
Declaration
protected virtual void Awake()
FixedUpdate()
Declaration
protected virtual void FixedUpdate()
GetBlockingReleaseFrames()
Declaration
protected abstract int GetBlockingReleaseFrames()
Returns
| Type | Description |
|---|---|
| System.Int32 |
OnBlockingChanged(Boolean)
Declaration
protected virtual void OnBlockingChanged(bool blocking)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | blocking |
OnDisable()
Declaration
protected virtual void OnDisable()
OnObstructedChanged(Boolean)
Declaration
protected virtual void OnObstructedChanged(bool obstructed)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | obstructed |
OnValidate()
Declaration
protected virtual void OnValidate()
OnWielderChanged(ICharacter)
Declaration
protected virtual void OnWielderChanged(ICharacter wielder)
Parameters
| Type | Name | Description |
|---|---|---|
| ICharacter | wielder |