(client) feat:状态UI
This commit is contained in:
20
Client/Assets/Scripts/UI/BuffIconListUI.cs
Normal file
20
Client/Assets/Scripts/UI/BuffIconListUI.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Prefab;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UI
|
||||
{
|
||||
public class BuffIconListUI: MonoBehaviour
|
||||
{
|
||||
public BuffIconUI prefab;
|
||||
public Transform container;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
foreach (Transform child in container)
|
||||
{
|
||||
Destroy(child.gameObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user