Base class for custom assets that can be used in Adapty UI.
More...
Base class for custom assets that can be used in Adapty UI.
◆ Color()
Creates a custom asset from a Unity Color.
- Parameters
-
- Returns
- A custom asset representing the color.
◆ LinearGradient()
Creates a custom asset from a Unity Gradient.
- Parameters
-
| gradient | The Unity Gradient. |
- Returns
- A custom asset representing the linear gradient.
◆ LocalImageAsset()
Creates a custom asset from a local image asset ID.
- Parameters
-
| assetId | The asset ID of the image. |
- Returns
- A custom asset representing the image asset.
◆ LocalImageData()
Creates a custom asset from local image data.
- Parameters
-
| data | The image data as byte array. |
- Returns
- A custom asset representing the image data.
◆ LocalImageFile()
Creates a custom asset from a local image file path.
- Parameters
-
| path | The file path to the image. |
- Returns
- A custom asset representing the image file.
◆ LocalVideoAsset()
Creates a custom asset from a local video asset ID.
- Parameters
-
| assetId | The asset ID of the video. |
- Returns
- A custom asset representing the video asset.
◆ LocalVideoFile()
Creates a custom asset from a local video file path.
- Parameters
-
| path | The file path to the video. |
- Returns
- A custom asset representing the video file.
◆ ToJSONNode()
| JSONNode AdaptySDK.AdaptyCustomAsset.ToJSONNode |
( |
| ) |
|
|
abstractpackage |
The documentation for this class was generated from the following files: