AssetManager - MalisPierre/ModularGame GitHub Wiki

Class AssetManager


Description:

This Class allow you to access a reference to an Asset and instantiate it into the game.


Functions:

Texture2D GetTexure(string AssetPath)

Sprite GetSprite(string AssetPath)

Font GetFont(string AssetPath)

Element GetElement(string Name)

Element InstantiateElement(Element Elem, Vector3 NewPos)

Element LoadElement(string Name, Vector3 NewPos)

Element FindElementByName(string Name)