ConvertToAutomaticallyUpdated
Introduction
Code Example
public void ConvertToAutomaticallyUpdated()
{
// Convert the entity itself:
SpriteManager.ConvertToAutomaticallyUpdated(this);
// Convert any Sprites:
SpriteManager.ConvertToAutomaticallyUpdated(BodySprite);
// Text objects may need to be converted too:
TextManager.ConvertToAutomaticallyUpdated(HealthText);
}Last updated
Was this helpful?