/// <summary> /// 画面を開く /// </summary> /// <param name="prevView">前の画面</param> /// <param name="callBackClose">閉じたときに呼ばれるコールバック</param> public virtual void Open(UtageUiView prevView, Action callBackClose) { this.prevView = prevView; this.callBackClose = callBackClose; this.gameObject.SetActive(true); this.gameObject.SendMessage("OnOpen", SendMessageOptions.DontRequireReceiver); }
/// <summary> /// オープンしたときに呼ばれる /// </summary> public void Open(UtageUiView prev, AdvCgGalleryData data) { this.Open(prev); this.data = data; this.cuurentIndex = 0; LoadCurrentTexture(); }
/// <summary> /// オープンしたときに呼ばれる /// </summary> public void Open( UtageUiView prev, AdvCgGalleryData data ) { this.Open(prev); this.data = data; this.cuurentIndex = 0; LoadCurrentTexture(); }
/// <summary> /// 画面を開く /// </summary> /// <param name="prevView">前の画面</param> /// <param name="callBackClose">閉じたときに呼ばれるコールバック</param> public virtual void Open(UtageUiView prevView, Action callBackClose) { this.prevView = prevView; this.callBackClose = callBackClose; this.gameObject.SetActive(true); this.gameObject.SendMessage("OnOpen",SendMessageOptions.DontRequireReceiver); }
/// <summary> /// 画面を開く /// </summary> /// <param name="prevView">前の画面</param> public virtual void Open(UtageUiView prevView) { Open(prevView, null); }
/// <summary> /// ロード画面を開く /// </summary> /// <param name="prev">前の画面</param> public void OpenLoad(UtageUiView prev) { isSave = false; title.text = LanguageSystemText.LocalizeText(SystemText.Load); Open(prev); }
/// <summary> /// セーブ画面を開く /// </summary> /// <param name="prev">前の画面</param> public void OpenSave(UtageUiView prev) { isSave = true; title.text = LanguageSystemText.LocalizeText(SystemText.Save); Open(prev); }
/// <summary> /// ロード画面を開く /// </summary> /// <param name="prev">前の画面</param> public void OpenLoad(UtageUiView prev) { isSave = false; title.text = LanguageSystemText.LocalizeText(SystemText.Load); Open(prev); }
/// <summary> /// セーブ画面を開く /// </summary> /// <param name="prev">前の画面</param> public void OpenSave(UtageUiView prev) { isSave = true; title.text = LanguageSystemText.LocalizeText(SystemText.Save); Open(prev); }
/// <summary> /// 画面を開く /// </summary> /// <param name="prevView">前の画面</param> public virtual void Open(UtageUiView prevView) { Open(prevView, null); }