コード例 #1
0
        public void OnDrawRuntimeGizmos(RuntimeGizmoDrawer drawer)
        {
            if (!gameObject.activeInHierarchy || !this.enabled)
            {
                return;
            }

            drawer.color = LeapColor.brown;

            if (maybePoseSplines != null)
            {
                drawer.DrawPoseSplineSequence(maybePoseSplines.Value,
                                              drawPoses: drawPoses,
                                              drawSegments: drawSegments);
            }
        }