Photon Voice: ObjectFactory< TType, TInfo > Interface Template Reference

Photon Voice

ObjectFactory< TType, TInfo > Interface Template Reference

Uniform interface to ObjectPool<TType, TInfo> and single reusable object. More...

Inherits IDisposable.

Public Member Functions

TType New ()
 
TType New (TInfo info)
 
void Free (TType obj)
 
void Free (TType obj, TInfo info)
 

Properties

TInfo Info [get]
 

Detailed Description

Uniform interface to ObjectPool<TType, TInfo> and single reusable object.

Template Parameters
TTypeObject type.
TInfoType of property used to check 2 objects identity (like integral length of array).
Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH