using System.Collections; using System.Collections.Generic; using Nfynt; using UnityEngine; public class webglvideocheck : MonoBehaviour { public bool ismute; private void OnEnable() { if(ismute) { this.GetComponent().Mute(); } else { this.GetComponent().Unmute(); } Invoke("playerdelay",1f); } void playerdelay() { this.GetComponent().Play(); } }