AdaptySDK
Loading...
Searching...
No Matches
AdaptySDK.AdaptyCustomAssetColor Class Reference

Custom asset representing a color. More...

Inheritance diagram for AdaptySDK.AdaptyCustomAssetColor:
AdaptySDK.AdaptyCustomAsset

Package Functions

override JSONNode ToJSONNode ()
 AdaptyCustomAssetColor (Color color)
Package Functions inherited from AdaptySDK.AdaptyCustomAsset
JSONNode ToJSONNode ()

Properties

Color ColorValue [get]
 The Unity Color.

Static Private Member Functions

static string ColorToHex (Color color)

Additional Inherited Members

Static Public Member Functions inherited from AdaptySDK.AdaptyCustomAsset
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.

Detailed Description

Custom asset representing a color.

Constructor & Destructor Documentation

◆ AdaptyCustomAssetColor()

AdaptySDK.AdaptyCustomAssetColor.AdaptyCustomAssetColor ( Color color)
package

Member Function Documentation

◆ ColorToHex()

string AdaptySDK.AdaptyCustomAssetColor.ColorToHex ( Color color)
staticprivate

◆ ToJSONNode()

override JSONNode AdaptySDK.AdaptyCustomAssetColor.ToJSONNode ( )
package

Property Documentation

◆ ColorValue

Color AdaptySDK.AdaptyCustomAssetColor.ColorValue
get

The Unity Color.


The documentation for this class was generated from the following files: