private void ShowLabel(bool show)
 {
     if (show != _showingLabel)
     {
         if (show && _enabled && !string.IsNullOrEmpty(Text))
         {
             Tutorial.ActivateAreaMarkerLabel(this.get_transform(), Text);
             _showingLabel = true;
         }
         else
         {
             if (_showingLabel)
             {
                 Tutorial.DeactivateObjectLabel(this.get_transform());
             }
             _showingLabel = false;
         }
     }
 }
 public void DeactivateControllerLabel(ControllerHand hand, ControllerInputUI controllerPart)
 {
     Tutorial.DeactivateControllerLabel(hand, controllerPart);
 }
 public void ActivateControllerLabel(ControllerHand hand, ControllerInputUI controllerPart, string text, float duration, int priority)
 {
     Tutorial.ActivateControllerLabel(hand, controllerPart, text, duration, priority);
 }
 public void DeactivateObjectLabel(Transform targetObject)
 {
     Tutorial.DeactivateObjectLabel(targetObject);
 }
 public void ActivateObjectLabel(Transform targetObject, TutorialLabelType type, ControllerHand hand, string text, ControllerActionUI action, string textSecondary, ControllerActionUI actionSecondary, float duration, int priority, AttachMode attachMode, bool showOffscreen)
 {
     Tutorial.ActivateObjectLabel(targetObject, type, hand, text, action, textSecondary, actionSecondary, duration, priority, attachMode, showOffscreen);
 }
 public void ActivateObjectLabel(Transform targetObject, TutorialLabelType type, ControllerHand hand, string text, ControllerActionUI action, float duration = 0.1f, int priority = 0, AttachMode attachMode = AttachMode.PositionOnly, bool showOffscreen = false)
 {
     Tutorial.ActivateObjectLabel(targetObject, type, hand, text, action, string.Empty, ControllerActionUI.None, duration, priority, attachMode, showOffscreen);
 }
 public void ActivateAreaMarkerLabel(Transform targetObject, string text)
 {
     Tutorial.ActivateObjectLabel(targetObject, TutorialLabelType.AreaMarker, ControllerHand.None, text, -1f, 0, AttachMode.PositionOnly, showOffscreen: true);
 }