hellbound/Assets/Scripts/Game/UI/Elements/BuffSection.cs

23 lines
429 B
C#
Raw Normal View History

2021-11-26 11:16:25 +03:00
using System.Collections.Generic;
using UnityEngine;
public class BuffSection : MonoBehaviour
{
private IEnumerable<BuffPresenter> _content;
private void Awake()
{
_content = GetComponentsInChildren<BuffPresenter>();
}
public void Init()
{
_content.ForEach(b => b.gameObject.SetActive(Settings.BUFF_SECTION_ENABLE));
}
public void SetShineActive(bool status)
{
}
}