0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MRTK ダイアグノスティクス、プロファイラの表示、非表示をプログラムから行う

Posted at

環境

  • Windows 10
  • HoloLens 2
  • Unity 2019.4.22f1
  • Microsoft.MixedReality.Toolkit.Unity.Foundation.2.5.0

成功

CoreServices.DiagnosticsSystem.ShowDiagnostics = false;
CoreServices.DiagnosticsSystem.ShowProfiler = false;

失敗

// 以下のコードは getter と internal setter のみ
var mixedRealityToolkit = (MixedRealityToolkit)MonoBehaviour.FindObjectOfType<MixedRealityToolkit>();
Debug.Log(mixedRealityToolkit.ActiveProfile.DiagnosticsSystemProfile.ShowDiagnostics);

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?