A game about forced loneliness, made by TACStudios
at master 21 lines 500 B view raw
1using System; 2using UnityEngine; 3 4namespace UnityEditor.U2D.Animation 5{ 6 [Serializable] 7 internal class BoneSelection : SerializableSelection<BoneCache>, IBoneSelection 8 { 9 protected override BoneCache GetInvalidElement() { return null; } 10 11 public BoneCache root 12 { 13 get { return activeElement.FindRoot<BoneCache>(elements); } 14 } 15 16 public BoneCache[] roots 17 { 18 get { return elements.FindRoots<BoneCache>(); } 19 } 20 } 21}