Description
The LoadingScreen
property of the Package
class provides a way to specify media content that will be displayed on the loading screen when the package is a game. This property is particularly useful for enhancing the user experience by showing relevant images or videos during the loading process.
Usage
To use the LoadingScreen
property, you need to set it with an instance of LoadingScreenSetup
. This setup can include various media elements such as images or videos that you want to display while the game is loading.
Example
// Example of setting up a loading screen for a game package
var gamePackage = new Package();
gamePackage.LoadingScreen = new LoadingScreenSetup
{
BackgroundImage = "path/to/loading/image.png",
LoadingVideo = "path/to/loading/video.mp4"
};