/// <summary> /// 删除自身 /// </summary> public void DestroySelf() { m_TxtMessage = null; m_TxtProgress = null; Instance = null; Destroy(this.gameObject); }
private void Awake() { Instance = this; m_VideoPlayer.prepareCompleted += prepareMovie; }