Skip to content

ISpawning

namespace Griff.Scenes;
public interface ISpawning : IGameService

Spawning prefabs (the game’s lifetimes: what’s made and what’s destroyed).

public abstract Entity Spawn(string prefab, Vector2 position)

Adds a new copy of a prefab at position, in the world.