RealityKit – Change the color of an entity with a transition
I’m new to SwiftUI and RealityKit and I was wondering how I can change the color of an entity with a transition. Here’s some code I wrote to change the color of a cube when it is tapped:
I’m new to SwiftUI and RealityKit and I was wondering how I can change the color of an entity with a transition. Here’s some code I wrote to change the color of a cube when it is tapped: