Beispiel #1
0
    public void CustomStart()
    {
        NN         = manager.GetComponent <NeuralNetwork>();
        parser     = manager.GetComponent <UbyteParser>();
        screen     = gameObject.GetComponent <MakeScreen>();
        eraseColor = Color.white;
        screen.GiveCaller(this);

        pixelData = new byte[784];
    }
    private void Awake()
    {
        makeScreen     = PixelScreen.GetComponent <MakeScreen>();
        screenControls = PixelScreen.GetComponent <ScreenControls>();
        ubyteParser    = gameObject.GetComponent <UbyteParser>();
        neuralNetwork  = gameObject.GetComponent <NeuralNetwork>();
        UINNResults    = gameObject.GetComponent <UINNResults>();

        StartCoroutine(StartUp());
    }