mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-04-10 21:47:07 +02:00
17 lines
333 B
C#
17 lines
333 B
C#
using UnityEngine;
|
|
|
|
public class LevelPreviousButton : MonoBehaviour
|
|
{
|
|
public LevelsLoader levelsLoader;
|
|
|
|
public void Start()
|
|
{
|
|
levelsLoader = GameObject.FindGameObjectWithTag("LevelsLoader").GetComponent<LevelsLoader>();
|
|
}
|
|
|
|
public void PreviousLevel()
|
|
{
|
|
levelsLoader.PreviousLevel();
|
|
}
|
|
}
|