subscript(_:)
Gets or sets the component of the specified type.
Declaration
@MainActor @preconcurrency subscript<T>(componentType: T.Type) -> T? where T : Component { get set }Gets or sets the component of the specified type.
@MainActor @preconcurrency subscript<T>(componentType: T.Type) -> T? where T : Component { get set }