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; }