Hi, I have a question about how to control behaviors from Xcode . I have loaded a RealityComposer file (.rcproject-file) to Xcode. In Xcode storyboard I made a button and executed a behavior, which I have implemented in RealityComposer before. This works great.
@IBAction func button(_ sender: Any) {
Anchor!.notifications.actionname.post()
}
But now I want the notification be executed when the rcproject file starts. So, when the .rcproject file starts, this behavior should be executed first. How can I do this??
Thanks