文档

Unity Engine

Unity Engine

GetInsetsAppearance(AndroidWindowInsetsType)

Returns the foreground appearance configured for the specified inset type at build time.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static AndroidWindowInsetsAppearance GetInsetsAppearance(AndroidWindowInsetsType type)

Parameters

A single inset type to query.

Returns

Type

Description

AndroidWindowInsetsAppearanceThe configured appearance, either
Light
or
Dark
.

Remarks

Returns whether the specified inset type is configured to use light or dark icons. Only a single inset type may be passed; passing combined flags throws an ArgumentException. Returns
Light
for AndroidWindowInsetsType.None.