private static void LoadTexturesIntoRuntime()
        {
            foreach (var image in GameData.Instance.StoryContext.StoryImagesFolder.GetFiles("*.png"))
            {
                var texture = Texture.LoadTextureFromPath(image.Name, image.DirectoryName);
                texture.PreloadTexture();

                var texture2D = new TaleWorlds.TwoDimension.Texture(new EngineTexture(texture));
                var key       = Path.GetFileNameWithoutExtension(image.Name);

                if (GameData.Instance.StoryContext.BackgroundImages.TextureList.ContainsKey(key))
                {
                    return;
                }

                GameData.Instance.StoryContext.BackgroundImages.TextureList.Add(key, texture2D);
            }
        }
 public void Clear()
 {
     _texture = null;
 }