private void Start() { m_Controller = GetComponent <CarKinematics>(); m_Net = new NeuralNet(3, 3, m_NumberHiddenLayer, m_NeuronPerHiddenLayer, m_LearnRate); if (m_LoadNetFromFile) { LoadNeuralNet(); m_TrainingDone = true; } else { StartCoroutine(LoadTrainingDataSet()); } }
private void Awake() { m_CarKinematics = GetComponent <CarKinematics>(); }
private void Awake() { m_Controller = GetComponent <CarKinematics>(); }
private void Awake() { m_Controller = GetComponent <CarKinematics>(); m_Renderers = GetComponentsInChildren <Renderer>(); }