示例#1
0
    // Token: 0x06005579 RID: 21881 RVA: 0x001D7F30 File Offset: 0x001D6330
    private void DeactivateLabel(TutorialManager.ActiveLabel label)
    {
        label.TimeToLive = -1f;
        label.Label.Deactivate();
        ControllerUI controllerUI = VRCTrackingManager.GetControllerUI(label.Hand);

        if (controllerUI != null)
        {
            controllerUI.EnableHighlight(label.ControllerPart, false);
        }
        this.RefreshControllerUiVisibility(label.Hand);
    }
示例#2
0
        // Token: 0x06005580 RID: 21888 RVA: 0x001D8160 File Offset: 0x001D6560
        public void SetController(ControllerHand hand, ControllerInputUI part)
        {
            ControllerUI controllerUI = VRCTrackingManager.GetControllerUI(this.Hand);

            if (controllerUI != null)
            {
                controllerUI.EnableHighlight(this.ControllerPart, false);
            }
            ControllerUI controllerUI2 = VRCTrackingManager.GetControllerUI(hand);

            if (controllerUI2 != null)
            {
                controllerUI2.EnableHighlight(part, true);
            }
            this.Hand           = hand;
            this.ControllerPart = part;
        }