From 37ae2ac476fd8b02d298d353bcdc266f5cc41518 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Mon, 30 Jun 2025 13:42:29 +0200 Subject: [PATCH] [csharp] Fixed two warnings. --- spine-csharp/src/Animation.cs | 2 -- spine-csharp/src/Constraint.cs | 1 - 2 files changed, 3 deletions(-) diff --git a/spine-csharp/src/Animation.cs b/spine-csharp/src/Animation.cs index 9f9dde613..ce8f10183 100644 --- a/spine-csharp/src/Animation.cs +++ b/spine-csharp/src/Animation.cs @@ -644,8 +644,6 @@ namespace Spine { /// Changes a bone's local . public class RotateTimeline : BoneTimeline1, IBoneTimeline { - readonly int boneIndex; - public RotateTimeline (int frameCount, int bezierCount, int boneIndex) : base(frameCount, bezierCount, boneIndex, Property.Rotate) { } diff --git a/spine-csharp/src/Constraint.cs b/spine-csharp/src/Constraint.cs index 4ef69edea..369a5ba82 100644 --- a/spine-csharp/src/Constraint.cs +++ b/spine-csharp/src/Constraint.cs @@ -54,7 +54,6 @@ namespace Spine { : base(data, pose, constrained) { } - public D Data { get { return data; } } public IConstraintData IData { get { return data; } } abstract public IConstraint Copy (Skeleton skeleton); abstract public void Sort (Skeleton skeleton);