22 lines
477 B
C#
22 lines
477 B
C#
// Designed by KINEMATION, 2024.
|
|
|
|
using System;
|
|
using UnityEngine;
|
|
|
|
namespace KINEMATION.KAnimationCore.Runtime.Rig
|
|
{
|
|
[Serializable]
|
|
public struct KRigElement
|
|
{
|
|
public string name;
|
|
[HideInInspector] public int index;
|
|
public int depth;
|
|
|
|
public KRigElement(int index = -1, string name = "None", int depth = -1)
|
|
{
|
|
this.index = index;
|
|
this.name = name;
|
|
this.depth = depth;
|
|
}
|
|
}
|
|
} |