Board

Board.Save.BoardSaveGameManager

BoardSaveGameManager.LoadSaveGameCoverImage(string) Method

Loads the cover image for a saved game.

public static System.Threading.Tasks.Task<Texture2D> LoadSaveGameCoverImage(string saveId);

Parameters

saveId System.String

The unique identifier for the saved game.

Returns

System.Threading.Tasks.Task<UnityEngine.Texture2D>
The task object representing the asynchronous operation, returning the cover image as a UnityEngine.Texture2D or null if no cover image exists.

Exceptions

System.ArgumentNullException
saveId is null or empty.

System.InvalidOperationException
The load image operation fails.