74 {
75 DropInfo aInfo = null;
76 if (Event.current.type == EventType.Repaint &&
dropInfo !=
null)
77 {
80 }
81 GUILayout.BeginHorizontal();
82 for (int i = 0; i < 3; i++)
83 {
85 {
86 GUILayout.Label(
textures[i], GUILayout.Width(200f), GUILayout.Height(200f));
87 }
88 else
89 {
90 GUILayout.Box("Drag image here", GUILayout.Width(200f), GUILayout.Height(200f));
91 }
93 }
94 GUILayout.EndHorizontal();
95 GUILayout.BeginHorizontal();
96 for (int j = 3; j < 6; j++)
97 {
99 {
100 GUILayout.Label(
textures[j], GUILayout.Width(200f), GUILayout.Height(200f));
101 }
102 else
103 {
104 GUILayout.Box("Drag image here", GUILayout.Width(200f), GUILayout.Height(200f));
105 }
107 }
108 GUILayout.EndHorizontal();
109 }
void LoadImage(int aIndex, DropInfo aInfo)