/// <summary> /// Start /// </summary> void Start() { // ダイアログ開始 _pauser = new TimePauser(gameObject); if (IsUIEnable != true) { _pauser.PauseUI(); } if (IsGameEnable != true) { _pauser.PauseGame(); } }
// Use this for initialization void Start() { _pauser = new TimePauser(ReplyPanel); // MainPanelを止めたいのにMainPanelを渡すとReplyPanelが止まってしまう _pv = ReplyPanel.transform.position; }