feat: GameObjects are now Connected to a Single IGameManager
This commit is contained in:
@@ -143,6 +143,8 @@ public class GameManager : IGameManager
|
||||
|
||||
private void Register(IGameObject gameObject)
|
||||
{
|
||||
gameObject.Assign(this);
|
||||
|
||||
gameObject.OnFinalized += OnGameObjectFinalize;
|
||||
|
||||
_gameObjects.Add(gameObject);
|
||||
|
||||
Reference in New Issue
Block a user