Beispiel #1
0
 /// <summary>
 /// 关闭并清除历史记录
 /// </summary>
 public void Clear()
 {
     if (typeValue != UIStackType.NULL)
     {
         UIStackDic.Clear(typeValue);
     }
 }
Beispiel #2
0
 public virtual void Open()
 {
     if (typeValue != UIStackType.NULL)
     {
         UIStackDic.Open(typeValue, this.gameObject);
     }
     else
     {
         gameObject.SetActive(true);
     }
 }
Beispiel #3
0
 public virtual void Close()
 {
     if (!this.gameObject.activeInHierarchy)
     {
         return;//已经隐藏的界面调用不进行栈操作
     }
     if (typeValue != UIStackType.NULL)
     {
         UIStackDic.Close(typeValue);
     }
     else
     {
         gameObject.SetActive(false);
     }
 }