Bagikan melalui


GameComponent.Enabled Property

Indicates whether GameComponent.Update should be called when Game.Update is called.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

public bool Enabled { get; set; }

Property Value

true if GameComponent.Update should be called; false otherwise.

See Also

Reference

GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista