Skip to content

Commit 949e894

Browse files
committed
- Added Spawn<T>(T data) method to PoolService to allow spawning new objects with defined spawning data
- Added GetPool<T>() && TryGetPool<T>() methods to PoolService to allow requesting the pool object maintained by the pool service. **Changed**: - Removed IsSpawned<T>() method from PoolService because is not a fundamental function and can now be accessed from the Pool requested from GetPool() - Now Spawn<T>(T data) also invokes OnSpawn() without data so objects that implement IPoolEntitySpawn have the entire behaviour lifecycle
1 parent a58778d commit 949e894

5 files changed

Lines changed: 180 additions & 213 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this package will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.11.0] - 2024-10-19
8+
9+
- Added Spawn<T>(T data) method to PoolService to allow spawning new objects with defined spawning data
10+
- Added GetPool<T>() && TryGetPool<T>() methods to PoolService to allow requesting the pool object maintained by the pool service.
11+
12+
**Changed**:
13+
- Removed IsSpawned<T>() method from PoolService because is not a fundamental function and can now be accessed from the Pool requested from GetPool()
14+
- Now Spawn<T>(T data) also invokes OnSpawn() without data so objects that implement IPoolEntitySpawn have the entire behaviour lifecycle
15+
716
## [0.10.0] - 2024-10-11
817

918
- Updated CommandService to allow non struct type commands to be executed for reference type commands

0 commit comments

Comments
 (0)