文档

Unity Engine

Unity Engine

activePlayModeTint

The tint color that is currently applied the editor UI.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static Color activePlayModeTint { get; }

Remarks

Returns Color.white when in Edit Mode, and the user-configured Play Mode tint color when in Play Mode. Multiply this color against your custom editor UI colors to make them visually consistent with the standard Unity editor UI.