set(_:)
Adds a new component to the set, or overrides an existing one.
Declaration
@MainActor @preconcurrency func set<T>(_ component: T) where T : ComponentParameters
- component:
The component to add.
Adds a new component to the set, or overrides an existing one.
@MainActor @preconcurrency func set<T>(_ component: T) where T : ComponentThe component to add.