Partager via


IGameComponent.Initialize Method

Called when the component should be initialized. This method can be used for tasks like querying for services the component needs and setting up non-graphics resources.

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

Syntax

public void Initialize ()

See Also

Reference

IGameComponent Interface
IGameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista