void ShowTrainButton() { if (GUILayout.Button("PROCESS \n" + gestureSettings.currentNeuralNet, GUILayout.Height(40f))) { EventType eventType = Event.current.type; if (eventType == EventType.Used) { gestureSettings.BeginTraining(OnFinishedTraining); } } }
public void BeginTraining() { panelManager.FocusPanel("Training Menu"); neuralNetTraining.text = gestureSettings.currentNeuralNet; gestureSettings.BeginTraining(OnFinishedTraining); }