mirror of
https://github.com/Kizuren/SynthMaze.git
synced 2026-01-11 09:01:05 +01:00
30 lines
524 B
C#
30 lines
524 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class levelTutorial : MonoBehaviour
|
|
{
|
|
public string level1 = "level1";
|
|
|
|
public SceneFader sceneFader;
|
|
|
|
void Awake()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public void StartLevel1()
|
|
{
|
|
PlayerSaving.tutorial = 1;
|
|
PlayerSaving.SavingPlayer = true;
|
|
sceneFader.FadeTo(level1);
|
|
MainMenu.ExitLevel = false;
|
|
}
|
|
}
|