Click or drag to resize

Installation

[This is preliminary documentation and is subject to change.]

Before you begin pooling, you will need to follow the steps below to ensure the libraries are installed correctly.

Installing Pure Pool
  • If you wish to use object pooling from a language other than C#, you should ensure you place the files listed below inside the Plugins folder.

  • Ensure the file Umbrace.Unity.PurePool.dll is placed within your Assets folder.

  • Ensure the documentation file Umbrace.Unity.PurePool.xml is placed next to the file above.

  • Ensure the editor file Umbrace.Unity.PurePool.Editor.dll is placed within your Assets folder, inside an Editor folder.

  • Ensure the documentation file Umbrace.Unity.PurePool.Editor.xml is placed next to the file above.

Installing PlayMaker support

A PlayMaker integration library is supplied to help you get started with object pooling from within your PlayMaker FSMs. If you do not own PlayMaker or do not wish to use the integration library, you can delete the file PlayMaker Integration Library.unitypackage.

  • Import the integration package PlayMaker Integration Library.unitypackage to your project. Ensure the file Umbrace.Unity.PurePool.PlayMaker.dll is placed within your Assets folder. You should only place it inside the Plugins folder if PlayMaker is installed in the Plugins folder.

Installing UNet support

A Unity Networking (UNet) integration library is supplied to help you use object pooling in your networked game. If you do not wish to use the integration library, you can delete the two files Umbrace.Unity.PurePool.UNet.dll and Umbrace.Unity.PurePool.UNet.xml.

  • If you wish to use UNet object pooling from a language other than C#, you should ensure you place the files listed below inside the Plugins folder.

  • Ensure the file Umbrace.Unity.PurePool.UNet.dll is placed within your Assets folder.

  • Ensure the documentation file Umbrace.Unity.PurePool.UNet.xml is placed next to the file above.

Installing Photon support

A Photon Unity Networking (PUN) integration script is supplied to help you use object pooling in your networked game. If you do not own PUN or do not wish to use the integration script, you can delete the file Photon Integration Library.unitypackage.

  • Import the integration package Photon Integration Library.unitypackage to your project. Ensure the file PrefabPool.cs is placed within your Assets folder. You should only place it inside the Plugins folder if PUN is installed in the Plugins folder.

See Also

Other Resources