public SkeletonToolView() { m_BoneInspectorPanel = BoneInspectorPanel.GenerateFromUXML(); m_BoneInspectorPanel.onBoneNameChanged += (b, n) => onBoneNameChanged(b, n); m_BoneInspectorPanel.onBoneDepthChanged += (b, d) => onBoneDepthChanged(b, d); Hide(); }