diff --git a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Components/ISimulationUpdate.cs b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Components/ISimulationUpdate.cs index efdbaa4423..9e0d2eba63 100644 --- a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Components/ISimulationUpdate.cs +++ b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Components/ISimulationUpdate.cs @@ -14,11 +14,6 @@ namespace Stride.BepuPhysics.Components; /// public interface ISimulationUpdate : IComponent { - /// - /// The entity this component belongs to, used with - /// - Entity Entity { get; } - /// /// The simulation which will call and when it updates /// diff --git a/sources/engine/Stride.Engine/Engine/FlexibleProcessing/IComponent.cs b/sources/engine/Stride.Engine/Engine/FlexibleProcessing/IComponent.cs index 08daed4c27..640932a1d6 100644 --- a/sources/engine/Stride.Engine/Engine/FlexibleProcessing/IComponent.cs +++ b/sources/engine/Stride.Engine/Engine/FlexibleProcessing/IComponent.cs @@ -1,6 +1,8 @@ // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. +using System; + namespace Stride.Engine.FlexibleProcessing { /// @@ -11,6 +13,16 @@ namespace Stride.Engine.FlexibleProcessing /// The type name implementing this interface public interface IComponent : IMarkedComponent where TProcessor : IComponent.IProcessor, new() where TThis : IComponent { + /// + /// EntityComponent.Entity + /// + Entity Entity { get; } + + /// + /// EntityComponent.Id + /// + Guid Id { get; } + public interface IProcessor : IProcessorBase { /// Occurs right after a component is added to the scene