文档

Unity Engine

Unity Engine

SetActivityIndicatorStyle

Sets the desired activity indicator style.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

SetActivityIndicatorStyle(ActivityIndicatorStyle)

Sets the desired activity indicator style.
public static void SetActivityIndicatorStyle(ActivityIndicatorStyle style)

Parameters

The indicator style to use. Pass an ActivityIndicatorStyle value on iOS or an AndroidActivityIndicatorStyle value on Android.

Remarks

Note that the change will take effect on next call to StartActivityIndicator.

SetActivityIndicatorStyle(AndroidActivityIndicatorStyle)

Sets the desired activity indicator style.
public static void SetActivityIndicatorStyle(AndroidActivityIndicatorStyle style)

Parameters

The indicator style to use. Pass an ActivityIndicatorStyle value on iOS or an AndroidActivityIndicatorStyle value on Android.

Remarks

Note that the change will take effect on next call to StartActivityIndicator.