增加Name属性

This commit is contained in:
ww-rm
2025-10-02 10:17:12 +08:00
parent 0202027edb
commit d5b7a74520
10 changed files with 14 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V21
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V34
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V35
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V36
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V37
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V38
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V40
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -52,6 +52,7 @@ namespace Spine.Implementations.V41
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -60,6 +60,7 @@ namespace Spine.Implementations.V42
public Skeleton InnerObject => _o; public Skeleton InnerObject => _o;
public string Name => _o.Data.Name;
public float R { get => _o.R; set => _o.R = value; } public float R { get => _o.R; set => _o.R = value; }
public float G { get => _o.G; set => _o.G = value; } public float G { get => _o.G; set => _o.G = value; }
public float B { get => _o.B; set => _o.B = value; } public float B { get => _o.B; set => _o.B = value; }

View File

@@ -15,6 +15,11 @@ namespace Spine.Interfaces
/// </summary> /// </summary>
public enum Physics { None, Reset, Update, Pose } public enum Physics { None, Reset, Update, Pose }
/// <summary>
/// 名称
/// </summary>
public string Name { get; }
/// <summary> /// <summary>
/// R /// R
/// </summary> /// </summary>