AssetValidator validates that the asset or assets is owned by the customer. If asset is not owned the validator will return an list of unowned assets.
More...
AssetValidator validates that the asset or assets is owned by the customer. If asset is not owned the validator will return an list of unowned assets.
◆ OwnsAsset()
static ValidatorJob Astra.Asset.AssetValidator.OwnsAsset |
( |
string |
guid | ) |
|
|
inlinestatic |
Checks if asset is owned.
- Parameters
-
guid | Guid of asset being validated |
- Returns
- ValidatorJob.isOwned: if the customer owns the assets ValidatorJob.unownedAssets: list of unowned assets found in scene
◆ ValidateAvatarAssets()
Checks all assets on avatar and return array of unowned assets
- Parameters
-
avatar | Avatar being validated |
- Returns
- ValidatorJob.isOwned: if all assets are owned on avatar isOwned = true. ValidatorJob.unownedAssets: list of unowned assets found in scene
The documentation for this class was generated from the following file:
- Assets/Astra/Asset/AssetValidator.cs