Declaration
public static void SavePhoto(Texture2D texture, Action<bool, string> callback)
Parameters
Parameter Name | Parameter Description |
---|---|
texture | Texture to be saved |
callback | Callback function. If the operation is successful, it returns true and the path to the album. (For iOS, the path to the album returned is always an empty string.) If the operation fails, it returns false and an empty string. |
Description
Saves a texture to the album.