You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
500 B
22 lines
500 B
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>(); }
|
|
}
|
|
}
|
|
}
|