mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-02-17 12:28:10 +01:00
17 lines
321 B
C#
17 lines
321 B
C#
|
using UnityEngine;
|
||
|
|
||
|
public class LevelNextButton : MonoBehaviour
|
||
|
{
|
||
|
public LevelsLoader levelsLoader;
|
||
|
|
||
|
public void Start()
|
||
|
{
|
||
|
levelsLoader = GameObject.FindGameObjectWithTag("LevelsLoader").GetComponent<LevelsLoader>();
|
||
|
}
|
||
|
|
||
|
public void NextLevel()
|
||
|
{
|
||
|
levelsLoader.NextLevel();
|
||
|
}
|
||
|
}
|