Méthode | Description | |
---|---|---|
CreatePool ( GameObject prefab, int poolSize ) : void | ||
ReuseObject ( GameObject prefab, Vector3 position, Quaternion rotation ) : void |
public CreatePool ( GameObject prefab, int poolSize ) : void | ||
prefab | GameObject | |
poolSize | int | |
Résultat | void |
public ReuseObject ( GameObject prefab, Vector3 position, Quaternion rotation ) : void | ||
prefab | GameObject | |
position | Vector3 | |
rotation | Quaternion | |
Résultat | void |