文档

Unity Engine


Unity Engine


GetSourceTerm()

Returns the name of the source term to be used in the apply/revert menu item.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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".