C# Class PoolManager.ObjectInstance, Object-Pooling

Datei anzeigen Open project: SebLague/Object-Pooling

Public Methods

Method Description
ObjectInstance ( GameObject objectInstance ) : UnityEngine
Reuse ( Vector3 position, Quaternion rotation ) : void
SetParent ( Transform parent ) : void

Method Details

ObjectInstance() public method

public ObjectInstance ( GameObject objectInstance ) : UnityEngine
objectInstance GameObject
return UnityEngine

Reuse() public method

public Reuse ( Vector3 position, Quaternion rotation ) : void
position Vector3
rotation Quaternion
return void

SetParent() public method

public SetParent ( Transform parent ) : void
parent Transform
return void