Example #1
0
    private void Awake()
    {
        brain = new Brain();

        brain.AddInput("ballX");
        brain.AddInput("ballZ");

        brain.AddInput("ballVelocityX");
        brain.AddInput("ballVelocityZ");

        brain.AddLayer(4);

        brain.AddOutput("rotationX");
        brain.AddOutput("rotationZ");
    }