NikosAssets.Pooling 0.1.0
Loading...
Searching...
No Matches
NikosAssets.Pooling.IPoolItemOnClock Interface Reference

A short-lived pool item that gets deactivated over some time. More...

Properties

TimingHelper PoolCooldownToDeactivate [get]
 Make sure to set, init this and additionally reset on pooling reset!
Properties inherited from NikosAssets.Pooling.IPoolItem
bool IsOccupied [get]
 Determines if this pool item can be pooled or not (occupied)
bool IsUsedByMarkers [get, set]
 Useful if you don't accidentally want to add this pool item into your own poolcontainer!

Additional Inherited Members

Public Member Functions inherited from NikosAssets.Pooling.IPoolItem
void Deactivate ()
 Not occupied anymore or the time is up for clocked (short-lived) poolitems like projectiles or collectables.
void PoolingReset ()
 Gets occupied and reset, ready for action!
Events inherited from NikosAssets.Pooling.IPoolItem
Action< IPoolItemOnDestroyed
 Make sure to call this!

Detailed Description

A short-lived pool item that gets deactivated over some time.

Property Documentation

◆ PoolCooldownToDeactivate

TimingHelper NikosAssets.Pooling.IPoolItemOnClock.PoolCooldownToDeactivate
get

Make sure to set, init this and additionally reset on pooling reset!

Implemented in NikosAssets.Pooling.SimplePoolItemOnClockMono.


The documentation for this interface was generated from the following file:
  • IPoolItemOnClock.cs