Skip to main content

TpSpawnLink

This component should be attached to any prefab that you use with the SpawningUtil pooling system. If you forget it, SpawningUtil will automatically add it for you, but that’s a tiny bit slower.

If you add it to a prefab manually you can use some of its special features:

  • Auto-Destroy after a timeout.
  • IgnoreCollider:UseMessaging: thesend spawning"Service systemMessages" addsvia anyTpServiceManager.
prefab instances which haveAdd a collidernote toor a specialcomma-separated internal list. If set TRUE, the spawning system won’t add an instancelist of such a prefab to this list. Used primarily with the Chunking/Layout system.tags.

This class can be extended, however please ensure to call base class methods if you override any methods.