SpriteControllerCountSpritesBasedOff Method |
Count the number of sprites that were duplicated from the sprite with the specified name. When you use a
SpriteController.DuplicateSprite(string)
command, it creates a new sprite that is based off the named sprite. This function will count those duplicated sprites.
Namespace:
SpriteLibrary
Assembly:
SpriteLibrary (in SpriteLibrary.dll) Version: 1.0.0.5 (1.0.0.5)
Syntaxpublic int CountSpritesBasedOff(
string Name
)
Parameters
- Name
- Type: SystemString
The name to look for
Return Value
Type:
Int32The count of sprites that are duplicates of the specified name
See Also