Click or drag to resize

SpriteManagerStateExtensionsReplaceSprites Method

Replaces sprites in a given state with those in a sprite array matched by name or null if not found.

Namespace:  SpriteMan3D
Assembly:  SpriteMan3D (in SpriteMan3D.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static void ReplaceSprites(
	this ISpriteManagerState state,
	Sprite[] sprites
)

Parameters

state
Type: SpriteMan3DISpriteManagerState

[Missing <param name="state"/> documentation for "M:SpriteMan3D.SpriteManagerStateExtensions.ReplaceSprites(SpriteMan3D.ISpriteManagerState,UnityEngine.Sprite[])"]

sprites
Type: Sprite

[Missing <param name="sprites"/> documentation for "M:SpriteMan3D.SpriteManagerStateExtensions.ReplaceSprites(SpriteMan3D.ISpriteManagerState,UnityEngine.Sprite[])"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISpriteManagerState. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also