예제 #1
0
    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());
        }
    }
예제 #2
0
 private void Awake()
 {
     m_CarKinematics = GetComponent <CarKinematics>();
 }
예제 #3
0
 private void Awake()
 {
     m_Controller = GetComponent <CarKinematics>();
 }
 private void Awake()
 {
     m_Controller = GetComponent <CarKinematics>();
     m_Renderers  = GetComponentsInChildren <Renderer>();
 }