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.
  • UseMessaging: send "Service Messages" via TpServiceManager.
  • Add a note or a comma-separated list of tags.

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