26 lines
803 B
C#
26 lines
803 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class GameManager : Node
|
|
{
|
|
/// <summary>
|
|
/// Indicates if the game is currently in tutorial mode.
|
|
/// </summary>
|
|
public static bool IsTutorial { get; private set; }
|
|
public static string NextScene { get; set; } = null;
|
|
public static readonly Resource Arrow2x = ResourceLoader.Load("res://temp_res/kenney_ui-pack-space-expansion/PNG/Extra/Double/cursor_f.png");
|
|
// Called when the node enters the scene tree for the first time.
|
|
public override void _Ready()
|
|
{
|
|
Input.SetCustomMouseCursor(Arrow2x);
|
|
var transit = GetNode<SceneTransit>("/root/SceneTransit");
|
|
transit.Transit("res://lab.tscn", true, "logo", 1.5f);
|
|
}
|
|
|
|
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
public override void _Process(double delta)
|
|
{
|
|
}
|
|
|
|
}
|