public void Start() { neuralNet = this.GetNeededComponent <MonoNeuralNet>(neuralNet, "No trainer associated"); neuralTrainer.trainLoops = trainLoops; neuralTrainer.Train(neuralNet.neuralNet); Destroy(this); }