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

Public Member Functions

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!

Properties

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!

Events

Action< IPoolItemOnDestroyed
 Make sure to call this!

Member Function Documentation

◆ Deactivate()

void NikosAssets.Pooling.IPoolItem.Deactivate ( )

Not occupied anymore or the time is up for clocked (short-lived) poolitems like projectiles or collectables.

Implemented in NikosAssets.Pooling.SimplePoolItemMono.

◆ PoolingReset()

void NikosAssets.Pooling.IPoolItem.PoolingReset ( )

Gets occupied and reset, ready for action!

Implemented in NikosAssets.Pooling.SimplePoolItemMono, and NikosAssets.Pooling.SimplePoolItemOnClockMono.

Property Documentation

◆ IsOccupied

bool NikosAssets.Pooling.IPoolItem.IsOccupied
get

Determines if this pool item can be pooled or not (occupied)

Implemented in NikosAssets.Pooling.SimplePoolItemMono.

◆ IsUsedByMarkers

bool NikosAssets.Pooling.IPoolItem.IsUsedByMarkers
getset

Useful if you don't accidentally want to add this pool item into your own poolcontainer!

Implemented in NikosAssets.Pooling.SimplePoolItemMono.


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