mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
21 lines
500 B
C#
21 lines
500 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.U2D.Animation
|
|
{
|
|
[Serializable]
|
|
internal class BoneSelection : SerializableSelection<BoneCache>, IBoneSelection
|
|
{
|
|
protected override BoneCache GetInvalidElement() { return null; }
|
|
|
|
public BoneCache root
|
|
{
|
|
get { return activeElement.FindRoot<BoneCache>(elements); }
|
|
}
|
|
|
|
public BoneCache[] roots
|
|
{
|
|
get { return elements.FindRoots<BoneCache>(); }
|
|
}
|
|
}
|
|
}
|