33 lines
927 B
C#
33 lines
927 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class AbilitySelector : MonoBehaviour
|
|
{
|
|
#region Statication
|
|
|
|
public static AbilitySelector instance;
|
|
|
|
private void Awake()
|
|
{
|
|
if (instance != null && instance != this)
|
|
{
|
|
Destroy(gameObject);
|
|
return;
|
|
}
|
|
instance = this;
|
|
DontDestroyOnLoad(this);
|
|
}
|
|
|
|
#endregion
|
|
[Header("INDEX 0 IS DEFAULT")]
|
|
[SerializeField] private List<Ability> reisenPrimaries = new();
|
|
[SerializeField] private List<Ability> reisenSecondaries = new();
|
|
[SerializeField] private List<Ability> reisenSpecials = new();
|
|
[SerializeField] private List<Ability> youmuPrimaries = new();
|
|
[SerializeField] private List<Ability> youmuSecondaries = new();
|
|
[SerializeField] private List<Ability> youmuSpecials = new();
|
|
[Header("SelectedAbiltiies")]
|
|
public List<Ability> reisenAbilities = new();
|
|
public List<Ability> youmuAbilities = new(); //this will be a mess to work with...
|
|
|
|
}
|