18 lines
566 B
C#
18 lines
566 B
C#
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
public class idolSkins : MonoBehaviour
|
|
{
|
|
private AllyHero_SO currentHero;
|
|
private List<HeroSkinResolvedData> currentSkinSet = new List<HeroSkinResolvedData>();
|
|
|
|
public AllyHero_SO CurrentHero => currentHero;
|
|
public IReadOnlyList<HeroSkinResolvedData> CurrentSkinSet => currentSkinSet;
|
|
|
|
public void SetHero(AllyHero_SO hero)
|
|
{
|
|
currentHero = hero;
|
|
currentSkinSet = hero != null ? DlcContentAccess.GetAccessibleSkinSet(hero, true) : new List<HeroSkinResolvedData>();
|
|
}
|
|
}
|