Show / Hide Table of Contents

Class LDtkUidBank

Responsible for holding onto LDtk definitions so that they are easily accessible by instance classes.

Methods

| Improve this Doc View Source

CacheUidData(LdtkJson)

Call this to statically load all definition data. This is automatic during the import process, but call this if accessing definitions is required in runtime or otherwise.
Most LDtk json instances have a definition property, so call this before trying to access definitions.

Parameters
Type Name Description
LdtkJson project

The json project to cache the definitions of.

| Improve this Doc View Source

ReleaseDefinitions()

Call this when all definition data is no longer needed in memory.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX