改动与优化
This commit is contained in:
@@ -205,8 +205,9 @@ public class InGamePerformanceManager : MonoBehaviour
|
||||
.OrderByDescending(info => (int)info.level.rarity)
|
||||
.ToList();
|
||||
|
||||
foreach (var info in sortedAchievements)
|
||||
for (int i = 0; i < sortedAchievements.Count; i++)
|
||||
{
|
||||
var info = sortedAchievements[i];
|
||||
var cat = info.sourceSO != null ? info.sourceSO.category : AchievementCategory.Combo;
|
||||
GameObject targetParent = place_to_putdown;
|
||||
|
||||
@@ -219,6 +220,7 @@ public class InGamePerformanceManager : MonoBehaviour
|
||||
|
||||
GameObject prefabToSpawn = (info.sourceSO != null && info.sourceSO.customPrefab != null) ? info.sourceSO.customPrefab : archievePrefab;
|
||||
GameObject go = Instantiate(prefabToSpawn, targetParent.transform);
|
||||
UI_OrderedEntryAnimator.PlayFadeOnly(go, i, 0.16f, 0.012f, true);
|
||||
|
||||
var script = go.GetComponent<archievePrefab>();
|
||||
if (script != null)
|
||||
|
||||
Reference in New Issue
Block a user