Starting in visionOS 26, we can observe changes on RealityKit entities. Let's observe an entity position and a value in a custom component. We can use the values directly in SwiftUI views or listen for changes and apply side effects. #visionOS #SwiftUI #RealityKit stepinto.vision/example-code...
5 likes 0 replies
?