Esempio n. 1
0
 public ItemMenu(Rect canvas, Transform root, GUISkin skin)
 {
     this.ddl          = new DebugDropDownList(new Rect(canvas.xMin, canvas.yMin, canvas.width / 2, canvas.height), root);
     this.ddl.dropSkin = skin;
     this.iv           = new DebugItemViewer(new Rect(canvas.xMin + (canvas.width / 2), canvas.yMin, canvas.width / 2, canvas.height));
 }
Esempio n. 2
0
 public ItemMenu(Rect canvas, Transform root, GUISkin skin)
 {
     this.ddl = new DebugDropDownList(new Rect(canvas.xMin,canvas.yMin,canvas.width/2,canvas.height),root);
     this.ddl.dropSkin = skin;
     this.iv = new DebugItemViewer(new Rect(canvas.xMin+(canvas.width/2),canvas.yMin,canvas.width/2,canvas.height));
 }