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); }
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); }
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"); }