IPoolable Interface

Summary

An object with a callback method for when it is released to an Weaver.ObjectPool`1.
graph BT Type["IPoolable"] class Type type-node Implementing0["Explosion"]-.->Type click Implementing0 "/weaver/api/Weaver.Examples/Explosion" Implementing1["FloatingTextUnity"]-.->Type click Implementing1 "/weaver/api/Weaver.Examples/FloatingTextUnity" Implementing2["PoolableBehaviour<T>"]-.->Type click Implementing2 "/weaver/api/Weaver/PoolableBehaviour_1" Implementing3["FloatingText"]-.->Type click Implementing3 "/weaver/api/Weaver.Examples/FloatingText" Implementing4["Missile"]-.->Type click Implementing4 "/weaver/api/Weaver.Examples/Missile"

Syntax

public interface IPoolable

Methods

Name Value Summary
OnRelease() void
Called by an Weaver.ObjectPool`1 when releasing this item back to the pool.