|
@@ -164,7 +164,8 @@ public class RenWuTypeWindow : MonoBehaviour
|
|
|
|
|
|
yield return new WaitForSeconds(0.02f);
|
|
|
this.GetComponent<ShowVideoManager>().url = path;
|
|
|
- this.GetComponent<ShowVideoManager>().playeVideo();
|
|
|
+ if(JinRuRenwu.Instance.Video.activeSelf)
|
|
|
+ this.GetComponent<ShowVideoManager>().playeVideo();
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -177,7 +178,8 @@ public class RenWuTypeWindow : MonoBehaviour
|
|
|
sw.Dispose();
|
|
|
yield return new WaitForSeconds(0.02f);
|
|
|
this.GetComponent<ShowVideoManager>().url = path;
|
|
|
- this.GetComponent<ShowVideoManager>().playeVideo();
|
|
|
+ if (JinRuRenwu.Instance.Video.activeSelf)
|
|
|
+ this.GetComponent<ShowVideoManager>().playeVideo();
|
|
|
}
|
|
|
|
|
|
}
|