Exemple #1
0
    private void EventCallBack()
    {
        m_SelectionRadial.HandleUp();
        m_SelectionRadial.Hide();
        m_GazeOver = false;

        mpc.ChangeLevelWithIndex(m_Index);
    }
Exemple #2
0
    void VideoStatusChange(Button button)
    {
        SelectImage.transform.position = button.transform.position;

        if (button.name == "StandardBt")
        {
            SelectImage.GetComponent <Image>().sprite = ResourceContine.Instance.highLightStandard;
            VideoStatusImage.sprite = ResourceContine.Instance.normalStandard;
            mediaPlayerCtrl.ChangeLevelWithIndex(0);
        }
        else if (button.name == "HDButton")
        {
            SelectImage.GetComponent <Image>().sprite = ResourceContine.Instance.highLightHD;
            VideoStatusImage.sprite = ResourceContine.Instance.normalHD;
            mediaPlayerCtrl.ChangeLevelWithIndex(1);
        }
        else if (button.name == "VeryHighBt")
        {
            SelectImage.GetComponent <Image>().sprite = ResourceContine.Instance.highLightlVeryHD;
            VideoStatusImage.sprite = ResourceContine.Instance.normalVeryHD;
            mediaPlayerCtrl.ChangeLevelWithIndex(2);
        }
        else if (button.name == "BluRayBt")
        {
            SelectImage.GetComponent <Image>().sprite = ResourceContine.Instance.hightLightBlueRay;
            VideoStatusImage.sprite = ResourceContine.Instance.normalBlueRay;
            mediaPlayerCtrl.ChangeLevelWithIndex(3);
            //
        }
        else if (button.name == "_4KBt")
        {
            SelectImage.GetComponent <Image>().sprite = ResourceContine.Instance.hightLight_4K;
            VideoStatusImage.sprite = ResourceContine.Instance.normal_4k;
            mediaPlayerCtrl.ChangeLevelWithIndex(4);
            //
        }
    }