private void LoadWebGl(int marginTop) { if (GUI.RepeatButton(new Rect(InfoArea.Width(125f), InfoArea.Height((float)marginTop), InfoArea.Width(120f), InfoArea.Height(35f)), new GUIContent("Load", "This will open a dialog where you can select previously saved data.")) && InfoArea.TimeSincePressed >= 5000) { InfoArea.TimeSincePressed = 0; InfoArea.TextUploadClick(); } }
public void OnButtonPointerDown() { InfoArea.TextUploadClick(); }