Esempio n. 1
0
 public void DespawnPopup()
 {
     if (currentlySpawnedPopup != null)
     {
         currentlySpawnedPopup.DestroySelf();
         currentlySpawnedPopup = null;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 销毁浮动菜单
 /// </summary>
 public void DeSpawnPopup()
 {
     if (_currentlySpawnedPopup == null)
     {
         return;
     }
     _currentlySpawnedPopup.DestroySelf();
     _currentlySpawnedPopup = null;
 }