Skip to content

Commit

Permalink
Added documentation for CustomPoolableManager and also added support …
Browse files Browse the repository at this point in the history
…for more parameters
  • Loading branch information
svermeulen committed May 5, 2019
1 parent 226c911 commit 029112e
Show file tree
Hide file tree
Showing 3 changed files with 402 additions and 89 deletions.
1 change: 1 addition & 0 deletions Documentation/MemoryPools.md
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,7 @@ Note the following:

- We've installed `PoolableManager` in our subcontainer
- In EnemyFacade, we have to call the `TriggerOnSpawned` and `TriggerOnDespawned` methods on PoolableManager to trigger the `OnSpawned` and `OnDespawned` methods for the rest of the subcontainer classes
- You can also pass generic arguments to `PoolableManager<>` to allow passing runtime parameters to the `TriggerOnSpawned` so they are forwarded on to your `IPoolable<>` derived classes

Note also that the order that the `IPoolable` classes are triggered will use the same execution order that is set with the `BindExecutionOrder` method, just like the other standard interfaces. Also note that the `OnDespawned` methods are called in the reverse order compared to `OnSpawned`.

Expand Down

This file was deleted.

Loading

0 comments on commit 029112e

Please sign in to comment.