Table of Contents

Class GameSystemAttribute

Namespace
Stride.Games
Assembly
Stride.Games.dll

Declares a game system that every game creates with its IServiceRegistry constructor and registers as a service. Only assemblies registered when the game is created count.

[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class GameSystemAttribute : Attribute
Inheritance
object
GameSystemAttribute
Inherited Members
Extension Methods

Properties

Editor

Whether the editor's games (scene, prefab, UI and preview games) create the system too. False by default: a system of the game itself (gameplay, networking) does not run in the editor.

public bool Editor { get; set; }

Property Value

bool