|
AdaptySDK 4.1.1
|
Base class for custom assets that can be used in Adapty UI. More...
Static Public Member Functions | |
| static AdaptyCustomAsset | LocalImageData (byte[] data) |
| Creates a custom asset from local image data. | |
| static AdaptyCustomAsset | LocalImageAsset (string assetId) |
| Creates a custom asset from a local image asset ID. | |
| static AdaptyCustomAsset | LocalImageFile (string path) |
| Creates a custom asset from a local image file path. | |
| static AdaptyCustomAsset | LocalVideoAsset (string assetId) |
| Creates a custom asset from a local video asset ID. | |
| static AdaptyCustomAsset | LocalVideoFile (string path) |
| Creates a custom asset from a local video file path. | |
| static AdaptyCustomAsset | Color (Color color) |
| Creates a custom asset from a Unity Color. | |
| static AdaptyCustomAsset | LinearGradient (Gradient gradient) |
| Creates a custom asset from a Unity Gradient. | |
Base class for custom assets that can be used in Adapty UI.
|
static |
Creates a custom asset from a Unity Color.
| color | The Unity Color. |
|
static |
Creates a custom asset from a Unity Gradient.
| gradient | The Unity Gradient. |
|
static |
Creates a custom asset from a local image asset ID.
| assetId | The asset ID of the image. |
|
static |
Creates a custom asset from local image data.
| data | The image data as byte array. |
|
static |
Creates a custom asset from a local image file path.
| path | The file path to the image. |
|
static |
Creates a custom asset from a local video asset ID.
| assetId | The asset ID of the video. |
|
static |
Creates a custom asset from a local video file path.
| path | The file path to the video. |