This repository was archived by the owner on Aug 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
PoolableObject.cs
Erik edited this page Apr 25, 2019
·
5 revisions
Script: PoolableObject.cs
- None
- None
- prefab - Prefab object used to create this gameObject
This script is attached to any gameObject that should be released to the ObjectPool upon death. The ObjectPool automatically adds a PoolableObject component to any objects it instantiates. When an object is disabled while having an active PoolableObject component it is added back to the ObjectPool automatically.
Script Documentation
General Scripts
Generic Character Scripts
Enemy Scripts
Player Scripts
Erik's ongoing laundry list of TODOs that he doesn't want to create issues for