Пример #1
0
    void Start()
    {
        EvolutionaryHistory.InitializeEvolutionaryHistory();
        EvolutionaryHistory.archetypes[0] = new TWEANNGenotype(4, 3, 0).Nodes;
        textbox = GetComponent <OutputText>();

        art = new Artwork();

        ActivationFunctions.ActivateAllFunctions();
        //ActivationFunctions.ActivateFunction(new List<FTYPE> { FTYPE.SAWTOOTH });
        width    = height = 256;
        renderer = GetComponent <Renderer>();
        img      = new Texture2D(width, height, TextureFormat.ARGB32, true);
    }