Skip to content

Block

namespace Griff.Modules.FirstPerson;
public sealed class Block : Component

Shows the entity as a solid box of wall in a FirstPersonView rather than a flat sprite: doors, gates, pillars, secret walls. The box is its BoxCollider, as tall as the view’s walls, textured with its Sprite (or that sprite’s color). Move it with a Mover or hide it with a Switch to open it.

This is a component: its saved properties are on its component page.

public bool Shaded { get; set; }

Shade it like the walls in the fog and dark. Untick it for something that glows: a lit sign, a force field.