C# Class GameObjectPool, BigDogs

Inheritance: MonoBehaviour
Datei anzeigen Open project: ChrisMaire/BigDogs Class Usage Examples

Public Methods

Method Description
GetInstance ( Vector3 position = newVector3() ) : Transform
GetPool ( string name ) : GameObjectPool,
ReleaseInstance ( Transform instance ) : void

Private Methods

Method Description
Awake ( ) : void
InitializeInstance ( Transform instance ) : void

Method Details

GetInstance() public method

public GetInstance ( Vector3 position = newVector3() ) : Transform
position Vector3
return Transform

GetPool() public static method

public static GetPool ( string name ) : GameObjectPool,
name string
return GameObjectPool,

ReleaseInstance() public method

public ReleaseInstance ( Transform instance ) : void
instance Transform
return void