Exemple #1
0
    private void Awake()
    {
        ngram = new NGram.NGramString();

        playerOneChoices = new List <string>();
        playerTwoChoices = new List <string>();

        m_sgm = GetComponent <ShooterGameManager>();

        m_sgm.OnActPhase += RegisterChoice;
    }
    private void Awake()
    {
        m_gameManager = GetComponent <ShooterGameManager>();

        int[] structure = new int[] { 6, 10, 10, 3 };

        m_ann = new ANN.ArtificalNerualNetwork(structure);

        m_ann.gainTerm = 0.15f;

        m_gameManager.OnActPhase += RegisterChoice;
    }