This commit is contained in:
badlogic 2019-06-06 14:13:29 +02:00
commit ad60096eb1
3 changed files with 388 additions and 330 deletions

View File

@ -29,6 +29,7 @@
## C# ##
* **Breaking changes**
* **Changed `IkConstraintData.Bones` type from `List<BoneData>` to `ExposedList<BoneData>`** for unification reasons. *Note: this modification will most likely not affect user code.*
* **Additions**

View File

@ -33,7 +33,7 @@ using System.Collections.Generic;
namespace Spine {
/// <summary>Stores the setup pose for an IkConstraint.</summary>
public class IkConstraintData : ConstraintData {
internal List<BoneData> bones = new List<BoneData>();
internal ExposedList<BoneData> bones = new ExposedList<BoneData>();
internal BoneData target;
internal int bendDirection = 1;
internal bool compress, stretch, uniform;
@ -43,7 +43,7 @@ namespace Spine {
}
/// <summary>The bones that are constrained by this IK Constraint.</summary>
public List<BoneData> Bones {
public ExposedList<BoneData> Bones {
get { return bones; }
}

File diff suppressed because it is too large Load Diff