Skip to content

GUIResourceProvider

interludesoftware.tick

Interlude.Tick

GUIResourceProvider Class

A serialized store of the images, sprites, fonts, and shaders a UI draws by name. Its sole runtime job is to hold that data and answer TryGet* lookups. The editor-time authoring workflow (populating the lists from a folder, copying textures, de-duplicating) lives in GUIResourceProviderEditor, not on the asset itself.

public class GUIResourceProvider : Interlude.Tick.IGUIResourceProvider

Inheritance UnityEngine.ScriptableObject → GUIResourceProvider

Implements IGUIResourceProvider

Methods

GUIResourceProvider.RemoveDuplicatesByName() Method

Removes duplicate images from m_images, keeping only the first occurrence of each name.

public void RemoveDuplicatesByName();