Skip to content

ISceneTravel

namespace Griff.Scenes;
public interface ISceneTravel : IGameService

Going from scene to scene.

public abstract void Forget(string scene)

Forgets how a scene was left (see RememberScene), so it starts as its file has it next time.

public abstract void Load(string scene, float fade)

Goes to another scene at the end of the frame, fading out and in over fade seconds.