示例#1
0
 /// <summary> Создание окна </summary>
 public Popup(bool useSearch = true, string title = "Menu", char separator = '/', bool autoHeight = true)
 {
     window          = PopupWindowAnim.Create(useSearch);
     this.title      = title;
     this.separator  = separator;
     this.autoHeight = autoHeight;
 }
		/// <summary> Создание окна </summary>
		public Popup(bool useSearch = true, string title = "Menu", char separator = '/', bool autoHeight = true) {
			window = PopupWindowAnim.Create(useSearch);
			this.title = title;
			this.separator = separator;
			this.autoHeight = autoHeight;
		}
		/// <summary> Создание окна </summary>
		public Popup(Vector2 size, bool useSearch = true, string title = "Menu", char separator = '/') {
			window = PopupWindowAnim.CreateBySize(size, useSearch);
			this.title = title;
			this.separator = separator;
		}
		/// <summary> Создание окна </summary>
		public Popup(Rect screenRect, bool useSearch = true, string title = "Menu", char separator = '/') {
			window = PopupWindowAnim.Create(screenRect, useSearch);
			this.title = title;
			this.separator = separator;
		}
示例#5
0
 /// <summary> Создание окна </summary>
 public Popup(Vector2 size, bool useSearch = true, string title = "Menu", char separator = '/')
 {
     window         = PopupWindowAnim.CreateBySize(size, useSearch);
     this.title     = title;
     this.separator = separator;
 }
示例#6
0
 /// <summary> Создание окна </summary>
 public Popup(Rect screenRect, bool useSearch = true, string title = "Menu", char separator = '/')
 {
     window         = PopupWindowAnim.Create(screenRect, useSearch);
     this.title     = title;
     this.separator = separator;
 }