リリースではデバッグ非表示
This commit is contained in:
parent
34080d9d16
commit
f20597e9e7
|
|
@ -14,8 +14,13 @@ public class MainGameDebugView : MonoBehaviour
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
#if DEVELOPMENT_BUILD || UNITY_EDITOR
|
||||||
view.SetActive(true);
|
view.SetActive(true);
|
||||||
Observable.NextFrame().Subscribe(_ => view.SetActive(false));
|
Observable.NextFrame().Subscribe(_ => view.SetActive(false));
|
||||||
|
#else
|
||||||
|
gameObject.SetActive(false);
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue