HealthConsumable
classscriptedClass
extends gameCpoPickableItem › GameObject › GameEntity › Entity › IScriptable › ISerializable
Properties 4
| Name | Type | Flags |
|---|---|---|
disappearAfterEquip | Bool | scriptedprivate |
interactionComponent | ref<InteractionComponent> | scriptedprivate |
meshComponent | ref<MeshComponent> | scriptedprivate |
respawnTime | Float | scriptedprivate |
Methods 5
protected cb func OnGameAttached() -> Boolscripted
protected cb func OnInteractionChoiceEvent(evt: ref<InteractionChoiceEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnTurnOn(evt: ref<RespawnHealthConsumable>) -> Boolscripted