Tanoda
Pool.cs File Reference

Go to the source code of this file.

Classes

interface  Leap.Unity.IPoolable
 Implement this interface to recieve a callback whenever your object is spawned from a pool. More...
 
class  Leap.Unity.Pool< T >
 A very lightweight pool implementation. When you call Spawn, an object of type T will be returned. If the pool was not empty, the T will be taken from the pool. If the pool was empty, a new T will be constructed and returned instead. Calling recycle will return a T to the pool.
 

Namespaces

namespace  Leap
 
namespace  Leap.Unity