Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite#55
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);
|
|
}
|
|
}
|
|
}
|
|
} |