Skip to content

45766BB3

Marcel Härtel edited this page Aug 27, 2023 · 2 revisions

AddDefaultComponents Method

Add all default (integrated) GameComponent's to the GameComponentCollection. These are basically a ICamera2D and a FPSCounter components.

Remarks

If you want to add your own ones, call Components.Add(); from your custom MonoGame.Forms.Control.

Definition

Namespace: MonoGame.Forms.NET.Services
Assembly: MonoGame.Forms.NET (in MonoGame.Forms.NET.dll) Version: 3.2.0

C#

public void AddDefaultComponents()

See Also

Reference

EditorService Class
MonoGame.Forms.NET.Services Namespace

Clone this wiki locally