TexturesGetter(TEnum) Constructor

GeonBit.UI

TexturesGetterTEnum Constructor
Create the texture getter with base path.

Namespace:  GeonBit.UI
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public TexturesGetter(
	string path,
	string suffix = null,
	bool usesStates = true
)

Parameters

path
Type: SystemString
Resource path, under geonbit.ui content.
suffix (Optional)
Type: SystemString
Suffix to add to the texture path after the enum part.
usesStates (Optional)
Type: SystemBoolean
If true, it means these textures may also use entit states, eg mouse hover / down / default.
See Also