Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Highlighter

Use this class to highlight elements in the editor for use in in-editor tutorials and similar.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public sealed class Highlighter

Static Properties

Property

Description

activeIs there currently an active highlight?
activeRectThe rect in screenspace of the current active highlight.
activeTextThe text of the current active highlight.
activeVisibleIs the current active highlight visible yet?

Static Methods

Method

Description

HighlightHighlights an element in the editor.
HighlightIdentifierCall this method to create an identifiable rect that the Highlighter can find.
StopStops the active highlight.