Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSourceTerm()

Returns the name of the source term to be used in the apply/revert menu item.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
string GetSourceTerm()

Returns

Type

Description

stringA string containing the name of the source term.

Remarks

The source term is shown in the apply and revert menu item texts to describe the target of the operation. For example, in the case of the revert menu item, the text would be defined as "Revert {SourceTerm} override".