void Start()
    {
        vpManager = GameObject.Find("VideoPlayerManager").GetComponent <VideoPlayerManager>();

        while (true)
        {
            ViewCount = vpManager.getViewCount();
            if (ViewCount != 0)
            {
                break;
            }
        }

        for (int i = 0; i < ViewCount; i++)
        {
            Vp[i] = GameObject.Find(MoviePanelString[i]).GetComponent <VideoPlayer>();
        }
    }
    // Use this for initialization
    void Start()
    {
        vpManager = GameObject.Find("VideoPlayerManager").GetComponent <VideoPlayerManager>();

        while (true)
        {
            ViewCount = vpManager.getViewCount();
            if (ViewCount != 0)
            {
                break;
            }
        }

        SdAll = GameObject.Find("Slider").GetComponent <Slider>();

        for (int i = 0; i < ViewCount; i++)
        {
            Sd[i] = GameObject.Find(SliderString[i]).GetComponent <Slider>();
        }
    }
    // Use this for initialization
    void Start()
    {
        vpManager = GameObject.Find("VideoPlayerManager").GetComponent <VideoPlayerManager>();

        while (true)
        {
            ViewCount = vpManager.getViewCount();
            if (ViewCount != 0)
            {
                break;
            }
        }

        date = vpManager.getMovieStartDate(0) + " ";

        SdAll = GameObject.Find("Slider").GetComponent <Slider>();

        DTimeAll = GameObject.Find("TimesOfDay").GetComponent <Text>();

        ETimeAll = GameObject.Find("ElapsedTime").GetComponent <Text>();

        for (int i = 0; i < ViewCount; i++)
        {
            Sd[i]    = GameObject.Find(SliderString[i]).GetComponent <Slider>();
            FName[i] = GameObject.Find(FNameString[i]).GetComponent <Text>();
            DTime[i] = GameObject.Find(DTimeString[i]).GetComponent <Text>();
            ETime[i] = GameObject.Find(ETimeString[i]).GetComponent <Text>();
            if (vpManager.getAudioSupport(i))
            {
                FName[i].text = vpManager.getMovieName(i);
            }
            else
            {
                FName[i].text  = vpManager.getMovieName(i) + " (Audio codec not supported)";
                FName[i].color = new Color(255f / 255f, 0f / 255f, 0f / 255f);
            }
        }
    }