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

27 lines
508 B
C#
Raw Normal View History

2021-12-29 20:50:11 +03:00
using System.Collections.Generic;
using UnityEngine;
namespace RND
{
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)
{
}
}
}