toggle暫停播放
bool isShow = false;
public Image ims1;
public void OnStartPause()
{
isShow = !isShow;
if (isShow)
{
PlayingPlayer.Control.Pause();
ims1.enabled = false;
}
else
{
ims1.enabled = true;
PlayingPlayer.Control.Play();
}
}