改动与优化
This commit is contained in:
@@ -123,7 +123,13 @@ public class UI_Player : MonoBehaviour
|
||||
|
||||
private void ClosePanel()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
UI_PanelExitUtility.PlayExitThen(gameObject, () =>
|
||||
{
|
||||
if (gameObject != null)
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void RestartForceRefreshUiRoutine()
|
||||
@@ -505,6 +511,7 @@ public class UI_Player : MonoBehaviour
|
||||
|
||||
GameObject entryObject = Instantiate(pInfoPrefab, pInfoParent);
|
||||
spawnedInfoEntries.Add(entryObject);
|
||||
UI_OrderedEntryAnimator.PlaySingle(entryObject, spawnedInfoEntries.Count - 1, 0.17f, 0.014f, -12f, 0.97f, true);
|
||||
|
||||
pInfoPrefab entry = entryObject.GetComponent<pInfoPrefab>();
|
||||
if (entry == null)
|
||||
|
||||
Reference in New Issue
Block a user