Class DiagnosticsController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Current diagnostic controller. Make it your development partner rather than the first component to turn off.
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class DiagnosticsController : MonoBehaviour
- Inheritance
-
DiagnosticsController
Fields
CustomDeveloperModeSwitch
Custom developer mode switch when DeveloperModeSwitch is Custom. The system will toggle developer mode based on the function return at any time.
public Func<bool> CustomDeveloperModeSwitch
Field Value
DeveloperModeSwitch
Developer mode switch. You can use the default switch (triggered by tapping the screen 8 times), customize a switch, or provide an equivalent alternative to developer mode.
If you silently turn off developer mode without providing an alternative, subsequent feedback to EasyAR may be rejected, which is especially important for Mega users.
[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
Field Value
MessageOutput
Message output options.
public DiagnosticsController.MessageOutputOptions MessageOutput
Field Value
Properties
IsDevMode
Whether developer mode is enabled.
public bool IsDevMode { get; }