/// <summary>
	/// ロード画面を開く
	/// </summary>
	/// <param name="prev">前の画面</param>
	public void OpenLoad(UguiView prev)
	{
		isSave = false;
		saveRoot.SetActive(false);
		loadRoot.SetActive(true);
		Open(prev);
	}
Ejemplo n.º 2
0
 /// <summary>
 /// 画面を開く
 /// </summary>
 /// <param name="prevView">前の画面</param>
 public virtual void Open(UguiView prevView)
 {
     if (this.status == Status.Closing)
     {
         CancelClosing();
     }
     this.status   = Status.Opening;
     this.prevView = prevView;
     this.gameObject.SetActive(true);
     ChangeBgm();
     this.gameObject.SendMessage("OnOpen", SendMessageOptions.DontRequireReceiver);
     onOpen.Invoke();
     StartCoroutine(CoOpening());
 }
Ejemplo n.º 3
0
		/// <summary>
		/// 画面を開く
		/// </summary>
		/// <param name="prevView">前の画面</param>
		public virtual void Open(UguiView prevView)
		{
			if (this.status == Status.Closing)
			{
				CancelClosing();
			}
			this.status = Status.Opening;
			this.prevView = prevView;
			this.gameObject.SetActive(true);
			ChangeBgm();
			this.gameObject.SendMessage("OnOpen", SendMessageOptions.DontRequireReceiver);
			onOpen.Invoke();
			StartCoroutine(CoOpening());
		}