12 lines
278 B
C#
12 lines
278 B
C#
using UnityEngine;
|
|
|
|
public class AddLevelsToSelector : MonoBehaviour
|
|
{
|
|
public EpisodeLevels m_episodeLevels;
|
|
|
|
private void Awake()
|
|
{
|
|
LevelSelector component = GameObject.Find("LevelSelector").GetComponent<LevelSelector>();
|
|
component.Levels = m_episodeLevels.Levels;
|
|
}
|
|
}
|