loadReference(at:)
Asynchronously loads another entity file that an entity depends on.
Declaration
@MainActor static func loadReference(at entity: Entity) async throwsParameters
- entity:
The entity that holds the Referencecomponent to load.
Asynchronously loads another entity file that an entity depends on.
@MainActor static func loadReference(at entity: Entity) async throwsThe entity that holds the Referencecomponent to load.