SpriteRendererChangeSpritesheet Method |
Change the spritesheet and current step of this sprite.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void ChangeSpritesheet(
SpriteSheet newSpritesheet,
int startingStep = 0
)
Parameters
- newSpritesheet
- Type: GeonBit.Core.GraphicsSpriteSheet
New spritesheet data to use. - startingStep (Optional)
- Type: SystemInt32
Step to set from new spritesheet.
See Also