KROYSDOCS
HomeWhat's newv0.1.0

Gameplay

Gameplay surface/layer helpers for scene entities.

Kindclass
NamespaceKroys.EngineScripting
Members4
SourceGameplay.cs
DECLARATION

Declaration

Namespace Kroys.EngineScripting.

Declaration
public static class Gameplay
REFERENCE

Members

Methods
#public static bool HasLayer(Entity entity)
Gets whether an entity has an explicit native gameplay layer component.
methodstatic
#public static GameplayLayer GetLayer(Entity entity)
Gets the entity gameplay layer, or Default when none is assigned.
methodstatic
#public static void SetLayer(Entity entity, GameplayLayer layer)
Assigns or creates the entity gameplay layer component.
methodstatic
#public static bool IsLayer(Entity entity, GameplayLayer layer)
Tests whether the entity is assigned to the requested gameplay layer.
methodstatic
Signatures
public static bool HasLayer(Entity entity)
public static GameplayLayer GetLayer(Entity entity)
public static void SetLayer(Entity entity, GameplayLayer layer)
public static bool IsLayer(Entity entity, GameplayLayer layer)

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.