20 lines
365 B
C#
20 lines
365 B
C#
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|