// Use this for initialization void Start() { talk = keepTalking; //NPC Starts at introduction isTalking = false; //Is not talking at first curLine = 0; playerScript = GameObject.Find("Player").GetComponent <PlayerControl>(); gameScripts = GameObject.Find("GameController").GetComponent <game_scripts>(); aiGraph = GameObject.Find("GameController").GetComponent <NPC_Calc>(); speechGraph = gameObject.GetComponent <SpeechGraph>(); }
// Use this for initialization void Start() { talk = keepTalking;//NPC Starts at introduction isTalking = false;//Is not talking at first curLine = 0; playerScript = GameObject.Find("Player").GetComponent<PlayerControl>(); gameScripts = GameObject.Find("GameController").GetComponent<game_scripts>(); aiGraph = GameObject.Find("GameController").GetComponent<NPC_Calc>(); speechGraph = gameObject.GetComponent<SpeechGraph>(); }