// Use this for initialization
    protected override void  Start()
    {
        // Update variables
        player_name = "Agent";

        _ennemy = (Human_Player)GameObject.FindObjectOfType(typeof(Human_Player));
        Score   = (ScoreKeeper)GameObject.FindObjectOfType(typeof(ScoreKeeper));

        STOR_Q    = Application.persistentDataPath + "/" + PATH_Q;
        STOR_prob = Application.persistentDataPath + "/" + PATH_prob;

        Load(PROBABILITIES);
        Load(PATTERN_FILE);

        // Call parent
        base.Start();
    }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     _player = (Human_Player)GameObject.FindObjectOfType(typeof(Human_Player));
 }