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