Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@hachicomb

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

環境

  • 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
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
hachicomb
2021/3、HoloLens 2触っています。
honeycomb-lab
様々なスキルを持つメンバーが、世の中の様々な課題やアイディアをクリエイティブとテクノロジーの力で解決し、ワクワクする未来の実現を目指します。xRコンテンツやインタラクティブコンテンツの企画・開発を得意とします。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?