diff --git a/Demo/WX_Video/.vsconfig b/Demo/WX_Video/.vsconfig new file mode 100644 index 0000000000000000000000000000000000000000..d70cd98b77b4984d6943f1ee8d64b111f4847b24 --- /dev/null +++ b/Demo/WX_Video/.vsconfig @@ -0,0 +1,6 @@ +{ + "version": "1.0", + "components": [ + "Microsoft.VisualStudio.Workload.ManagedGame" + ] +} diff --git a/Demo/WX_Video/Assets/PlayVideo.cs b/Demo/WX_Video/Assets/PlayVideo.cs new file mode 100644 index 0000000000000000000000000000000000000000..e9154667348a3738d4abdeb52a74d92cd4db58fe --- /dev/null +++ b/Demo/WX_Video/Assets/PlayVideo.cs @@ -0,0 +1,52 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +using WeChatWASM; + +public class PlayVideo : MonoBehaviour +{ + // Start is called before the first frame update + void Start() + { + var btn = this.GetComponent