PolyToolkit. PtAsset
A Poly Toolkit asset (custom asset type).
Summary
This represents an asset imported from Poly.
Inheritance
Inherits from: ScriptableObject
Public attributes |
|
---|---|
assetPrefab
|
GameObject
A reference to the prefab that represents the object.
|
author = ""
|
string
Author of the asset.
|
license
|
The license under which this asset was included in the project.
|
title = ""
|
string
Title of the asset.
|
url = ""
|
string
URL to the asset.
|
Properties |
|
---|---|
FilterString
|
static string
Convenience method to return a filter string like "t:PtAsset" based on the name of this class (so that we are resilient to future renamings of this class).
|
Public attributes
assetPrefab
GameObject assetPrefab
A reference to the prefab that represents the object.
author
string author = ""
Author of the asset.
title
string title = ""
Title of the asset.
url
string url = ""
URL to the asset.
Properties
FilterString
static string FilterString
Convenience method to return a filter string like "t:PtAsset" based on the name of this class (so that we are resilient to future renamings of this class).