Table of Contents

Class DiagnosticsController

命名空间
easyar
程序集
EasyAR.Sense.dll

当前ARSession的诊断控制器。让它成为你的开发伙伴而非第一个关闭的组件。

[DisallowMultipleComponent]
[ExecuteInEditMode]
public class DiagnosticsController : MonoBehaviour
继承
DiagnosticsController

字段

CustomDeveloperModeSwitch

DeveloperModeSwitchCustom时的自定义的开发者模式开关。系统会根据函数返回随时开关开发者模式。

public Func<bool> CustomDeveloperModeSwitch

DeveloperModeSwitch

开发者模式开关,你可以使用默认的开关(点击屏幕8次触发)或自定义一个开关,或提供开发者模式的等价替代。

如果你默默地关闭开发模式且没有提供替代,后续给到EasyAR的问题反馈将可能被拒绝,尤其是对Mega用户而言非常重要。

[Tooltip("Developer mode switch. You can use the default switch or define your custom switch or equivalent function to replace develop mode.\nIf you silently disable developer mode and do not provide a replacement, issue feedbacks to EasyAR may be rejected, expecially for Mega users.\n\n开发者模式开关,你可以使用默认的开关(点击屏幕8次触发)或自定义一个开关,或提供开发者模式的等价替代。\n如果你默默地关闭开发者模式且没有提供替代,后续给到EasyAR的问题反馈将可能被拒绝,尤其是对Mega用户而言非常重要。")]
public DiagnosticsController.DeveloperModeSwitchType DeveloperModeSwitch

MessageOutput

消息输出选项。

public DiagnosticsController.MessageOutputOptions MessageOutput

属性

IsDevMode

开发者模式是否打开。

public bool IsDevMode { get; }