The inspector interface is provided as an easy way to define pools and prefab-specific options, and most of the time the Inspector is the best way to use PoolManager, but if you have a special use-case where maintaining the Inspector becomes tedious, or the situation is dynamic, you can do everything you can do in the Inspector through scripting. See:
Remember when using code from PoolManager to add the namespace to the top of the script file: 'using PathologicalGames;' |
Documentation >