Window Framework for UI Toolkit v2.0.x
GWG.Extensions.TextureAsset Class Reference

Editor sample ScriptableObject containing one borrowed project texture reference. More...

Inheritance diagram for GWG.Extensions.TextureAsset:
Collaboration diagram for GWG.Extensions.TextureAsset:

Public Member Functions

void Reset ()
 Clears this reference without destroying the texture or saving the asset.

Data Fields

Texture2D texture
 Project Texture2D displayed by the sample inspector; null is an empty selection.

Detailed Description

Editor sample ScriptableObject containing one borrowed project texture reference.

Created through Garage-Ware Games/Extensions/Texture Asset. Not a player-theme folder, theme collection or mandatory runtime configuration. Editing code must mark/save this asset explicitly; it does not acquire or destroy referenced textures.

Member Function Documentation

◆ Reset()

void GWG.Extensions.TextureAsset.Reset ( )
inline

Clears this reference without destroying the texture or saving the asset.

Field Documentation

◆ texture

Texture2D GWG.Extensions.TextureAsset.texture

Project Texture2D displayed by the sample inspector; null is an empty selection.