示例#1
0
    // TODO 3: Capture perception events and add an entry if the player is detected
    // if the player stop from being seen, the entry should be "in the past memory"

    // Use this for initialization
    void Start()
    {
        perceptionManager = gameObject.GetComponent <AIPerceptionManager>();
        memory            = new Dictionary <string, BlackboardEntry>();
        player            = GameObject.FindGameObjectWithTag("Visual Emitter");
    }
示例#2
0
 // Use this for initialization
 void Start()
 {
     playerKnowledge   = new Dictionary <string, Knowledge>();
     perceptionManager = GetComponent <AIPerceptionManager>();
 }