Type Method

registerComponent()

Registers a new component type.

Declaration

static func registerComponent()

Discussion

Call the registerComponent() method once for every custom component type that you use in your app before you use it. You don’t need to call the method for built-in component types, like ModelComponent or AnchoringComponent.