diff --git a/Engine.Core/BehaviourController.cs b/Engine.Core/BehaviourController.cs index 22367b8..0a96572 100644 --- a/Engine.Core/BehaviourController.cs +++ b/Engine.Core/BehaviourController.cs @@ -7,7 +7,7 @@ using Syntriax.Engine.Core.Abstract; namespace Syntriax.Engine.Core; -[System.Diagnostics.DebuggerDisplay("Behaviour Count: {behaviours.Count()}")] +[System.Diagnostics.DebuggerDisplay("Behaviour Count: {behaviours.Count}")] public class BehaviourController : IBehaviourController { public Action? OnPreUpdate { get; set; } diff --git a/Engine.Core/GameManager.cs b/Engine.Core/GameManager.cs index 6ac44cb..5d24d65 100644 --- a/Engine.Core/GameManager.cs +++ b/Engine.Core/GameManager.cs @@ -8,7 +8,7 @@ using Syntriax.Engine.Core.Factory; namespace Syntriax.Engine.Core; -[System.Diagnostics.DebuggerDisplay("GameObject Count: {_gameObjects.Count()}")] +[System.Diagnostics.DebuggerDisplay("GameObject Count: {_gameObjects.Count}")] public class GameManager : IEntity, IEnumerable { public Action? OnCameraChanged { get; set; } = null; diff --git a/Engine.Physics2D/Primitives/Shape.cs b/Engine.Physics2D/Primitives/Shape.cs index abc49ed..432063b 100644 --- a/Engine.Physics2D/Primitives/Shape.cs +++ b/Engine.Physics2D/Primitives/Shape.cs @@ -6,7 +6,7 @@ using Syntriax.Engine.Core.Abstract; namespace Syntriax.Engine.Physics2D.Primitives; -[System.Diagnostics.DebuggerDisplay("Vertices Count: {Vertices.Count()}")] +[System.Diagnostics.DebuggerDisplay("Vertices Count: {Vertices.Count}")] public readonly struct Shape(IList Vertices) : IEnumerable { public static readonly Shape Triangle = CreateNgon(3, Vector2D.Up);