bad-piggies-0.1.3-porting/Assets/Scripts/Assembly-CSharp/AddLevelsToSelector.cs

13 lines
278 B
C#
Raw Normal View History

2024-02-24 22:40:44 -05:00
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;
}
}