This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.
Disable Console Output Plugin
コンソール出力を無効にするプラグイン
DisableConsoleOutput (Plana.Composition.DisableConsoleOutput
) プラグインは、 Debug.Log
などのコンソール出力をソースから取り除きます。
例
input
namespace AudioLink
{
public class AudioLinkController : UdonSharpBehaviour
{
// ...
private void Start()
{
// ...
if (audioLink == null)
{
Debug.LogError("[AudioLink] Controller not connected to AudioLink");
return;
}
}
// ...
}
}
output
namespace AudioLink
{
public class AudioLinkController : UdonSharpBehaviour
{
// ...
private void _UnityEngineDebugLogStub()
{
}
private void Start()
{
// ...
if (audioLink == null)
{
_UnityEngineDebugLogStub();
return;
}
}
// ...
}
}
オプション
Options:
--disable-console-output use disable-console-output [default: False]
Comments
このプラグインはアノテーションコメントで動作を変更することは出来ません。