Class Asset
Inherits from
-
(base class)Component
Constructors
Name | Description |
---|---|
this
|
Creates asset with resource .
|
Fields
Name | Type | Description |
---|---|---|
owner
|
GameObject |
The GameObject that owns this component. |
yaml
|
dyaml. |
The node that defined the component. |
Properties
Name | Type | Description |
---|---|---|
isUsed
[get]
|
bool |
|
resource
[get]
|
Resource |
Methods
Name | Description |
---|---|
draw
|
Called on the draw cycle.
|
initialize
|
The function called on initialization of the object. |
refresh
|
Called when refreshing an object. |
shutdown
|
Called on shutdown .
|
update
|
Called on the update cycle.
|