private protected override void Deactivated() { _spriteFont = null; Engine.SpriteSystem.RemoveSprite(Scene, this); }
private protected override void Activated() { Engine.SpriteSystem.AddSprite(Scene, this); _spriteFont = Scene.Assets.FirstOrDefault(a => a.Name == AssetName) as Asset <SpriteFont>; }