Contents

subscript(_:)

Gets or sets the component of the specified type.

Declaration

@MainActor @preconcurrency subscript<T>(componentType: T.Type) -> T? where T : Component { get set }

See Also

Accessing members