Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.Item Class Reference

Detailed Description

Loadable resource that implements conception of the in-game inventory item.

Defines item integration rules with the AItemFeature components applied to prefab.

See also
AItemFeature, Storage, StoragesDatabase
Inheritance diagram for Doloro.InvetorySystem.Item:
Collaboration diagram for Doloro.InvetorySystem.Item:

Protected Member Functions

virtual Texture2D OnPreviewRender ()
 Occurs in case if there is no predefined preview. More...
 

Properties

AssetPropertiesCollection properties [get]
 Soft properties applied for the item.
 
Texture2D preview [get, set]
 Image to display. More...
 
string title [get, set]
 Title of the item.
 
string description [get, set]
 Description of the item.
 
IEnumerable< FeatureType > features [get]
 Collection of features applied to the resource instance.
 

Member Function Documentation

◆ OnPreviewRender()

virtual Texture2D Doloro.InvetorySystem.Item.OnPreviewRender ( )
protectedvirtual

Occurs in case if there is no predefined preview.

Returns
Runtime rendered texture. null by default.

Property Documentation

◆ preview

Texture2D Doloro.InvetorySystem.Item.preview
getset

Image to display.

Calls OnPreviewRender if not defined explicitly or via Static Preview editor field.


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