デバッグ調整
This commit is contained in:
parent
7d7693bb66
commit
ace39e7f7c
|
|
@ -19,8 +19,13 @@ public class MainGameDebugView : MonoBehaviour
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
#if DEVELOPMENT_BUILD || UNITY_EDITOR
|
#if DEVELOPMENT_BUILD || UNITY_EDITOR
|
||||||
|
view.transform.SetLocalScale(0f);
|
||||||
view.SetActive(true);
|
view.SetActive(true);
|
||||||
Observable.NextFrame().Subscribe(_ => view.SetActive(false));
|
Observable.NextFrame().Subscribe(_ =>
|
||||||
|
{
|
||||||
|
view.transform.SetLocalScale(1f);
|
||||||
|
view.SetActive(false);
|
||||||
|
});
|
||||||
#else
|
#else
|
||||||
gameObject.SetActive(false);
|
gameObject.SetActive(false);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue