diff --git a/Engine.Core/BehaviourCollector.cs b/Engine.Core/BehaviourCollector.cs index a0661df..bd6e562 100644 --- a/Engine.Core/BehaviourCollector.cs +++ b/Engine.Core/BehaviourCollector.cs @@ -28,6 +28,9 @@ public class BehaviourCollector : IAssignableGameManager, IEnumerable { gameObject.BehaviourController.OnBehaviourAdded += OnBehaviourAdded; gameObject.BehaviourController.OnBehaviourRemoved += OnBehaviourRemoved; + + foreach (IBehaviour item in gameObject.BehaviourController) + OnBehaviourAdded(gameObject.BehaviourController, item); } private void OnGameObjectUnregistered(IGameManager manager, IGameObject gameObject)