示例#1
0
        public IPanel GetPanel(string id,
                               [MethodParam(Default = 100f)] float width, [MethodParam(Default = 50f)] float height,
                               float x, float y,
                               [MethodParam(Browsable = false)] IObject parent = null,
                               [MethodParam(Browsable = false, Default = false)] bool addToUi = true)
        {
            EmptyImage image = new EmptyImage(width, height);

            return(GetPanel(id, image, x, y, parent, addToUi));
        }
示例#2
0
		public IPanel GetPanel(string id, float width, float height, float x, float y, bool addToUi = true)
		{
			EmptyImage image = new EmptyImage (width, height);
			return GetPanel(id, image, x, y, addToUi);
		}
示例#3
0
        public IPanel GetPanel(string id, float width, float height, float x, float y, IObject parent = null, bool addToUi = true)
        {
            EmptyImage image = new EmptyImage(width, height);

            return(GetPanel(id, image, x, y, parent, addToUi));
        }