Click or drag to resize
DigitalRuneGameObjectCollectionSetItem Method
Replaces the item at the specified index with the specified item.

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
protected override void SetItem(
	int index,
	GameObject item
)

Parameters

index
Type: SystemInt32
The zero-based index of the item to be replaced.
item
Type: DigitalRune.GameGameObject
The new item.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
ArgumentExceptionitem is already loaded, probably belongs to another service. Or the name of the game object is not unique.
See Also