// Use this for initialization
    void Start()
    {
        cam = GameObject.Find("Main Camera");

        Sprite left = Resources.Load<Sprite>("Sprites/AndyAdvanceWars");
        Sprite right = Resources.Load<Sprite>("Sprites/AndyAdvanceWars-2");
        Sprite background = Resources.Load<Sprite>("Sprites/tmpbackground");

        cut = cam.AddComponent<CutScene>();
        box = cam.AddComponent<DialogueBox>();

        cut.SetSprites( left, right, background, cam.transform.position,false);

        lines = new List<string>();
        LoadLines("Assets/Resources/Dialogue/testdialogue.txt");
        box.SetText(lines[linenum]);
    }