Exemplo n.º 1
0
    private void OnReadyClick()
    {
        App.SoundManager.PlaySoundClip(Config.Sound.Click1);
        m_ready.gameObject.SetActive(false);
        m_cameraTween.SetTweenPackSync("camera_start_white01");
        var clip = m_cameraTween.GetClipTween("move_start");

        clip.SetOnComplete(OnCameratweenComplete, null);
    }
Exemplo n.º 2
0
    public void OpenView(object intent)
    {
        if (intent != null)
        {
            var content = (string)intent;
            m_Content.text = content;
        }
        var tween = m_tweenPlayer.GetClipTween("move_out");

        tween.SetOnComplete(OnShowComplete, null);
    }
Exemplo n.º 3
0
    public void OnReadyFinish(string name, List <byte[]> packet)
    {
        if (isTurn == true)
        {
            m_cameraTween.SetTweenPackSync("camera_start_white");
        }
        else
        {
            m_cameraTween.SetTweenPackSync("camera_start_black");
        }
        var clip = m_cameraTween.GetClipTween("move_start");

        clip.SetOnComplete(OnCameratweenComplete, null);
        Debug.Log("Push:On Ready Finish");
    }