Class HealthPickup
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 class HealthPickup : MonoBehaviour, IPickup, INeoSerializableComponent
Methods
Awake()
Declaration
protected void Awake()
EnablePickup(Boolean)
Declaration
public virtual void EnablePickup(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoDeserializer | reader | |
| NeoSerializedGameObject | nsgo |
Trigger(ICharacter)
Declaration
public void Trigger(ICharacter character)
Parameters
| Type | Name | Description |
|---|---|---|
| ICharacter | character |
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoSerializer | writer | |
| NeoSerializedGameObject | nsgo | |
| SaveMode | saveMode |