Class BaseWieldableStanceManager
Inheritance
BaseWieldableStanceManager
Implements
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 BaseWieldableStanceManager : MonoBehaviour, INeoSerializableComponent
Properties
currentStance
Declaration
public string currentStance { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
isBlocked
Declaration
public bool isBlocked { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
AddBlocker()
Declaration
protected void AddBlocker()
Awake()
Declaration
protected virtual void Awake()
OnDisable()
Declaration
protected virtual void OnDisable()
OnValidate()
Declaration
protected virtual void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoDeserializer | reader | |
| NeoSerializedGameObject | nsgo |
RemoveBlocker()
Declaration
protected void RemoveBlocker()
ResetStance()
Declaration
public void ResetStance()
SetStance(String)
Declaration
public void SetStance(string stanceName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | stanceName |
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoSerializer | writer | |
| NeoSerializedGameObject | nsgo | |
| SaveMode | saveMode |