예제 #1
0
    // put list of NPCs into agentList
    void findAgentList()
    {
        agents = GameObject.Find("Agents");

        agentScript = agents.GetComponent <AgentInfo>();

        agentList = agentScript.getAgentList();
    }