public void OnSpawned(NpcFacadeModel p1, IMemoryPool p2) { Debug.Log("Spawned " + gameObject.name); p1.Move.Self = gameObject; _aiUseCase.Reset(p1.Ai); _moveUseCase.Reset(p1.Move); _paramUseCase.Reset(); _registry.Add(this); FacadeModel = p1; }