public void FadePopup() { if (currentlySpawnedPopup != null) { currentlySpawnedPopup.FadeMe(); currentlySpawnedPopup = null; } }
/// <summary> /// 淡入淡出浮动菜单 /// </summary> public void FadePopup() { if (_currentlySpawnedPopup == null) { return; } _currentlySpawnedPopup.FadeMe(); _currentlySpawnedPopup = null; }