Beispiel #1
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");
    }
Beispiel #2
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);
    }