文档

Unity Engine

Unity Engine

supportsRendering

Returns true when the platform supports rendering and there is a graphics device available.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool supportsRendering { get; }

Remarks

On Dedicated Server builds this value is always
false
. On Standalone builds this value is
false
when running with the -nographics argument.