Table of Contents

Class RecyclableEntity

Namespace
VoxelPlayground.Entity
Assembly
GamePlay.dll
public class RecyclableEntity : Entity, IRecyclable
Inheritance
object
RecyclableEntity
Implements
Derived
Inherited Members
Extension Methods

Fields

lifeTime

public float lifeTime

Field Value

float

Properties

GetTransform

public Transform GetTransform { get; }

Property Value

Transform

LifeTime

public float LifeTime { get; set; }

Property Value

float

Methods

Activate()

public override void Activate()

Awake()

Awake is called when the script instance is being loaded.

protected override void Awake()

OnRecycle()

public virtual void OnRecycle()

SetLifeTime(float)

public void SetLifeTime(float newLifeTime)

Parameters

newLifeTime float