Skip to content

Attribution

Updated

Credit info: title, author and a link to the source or license.

Type
comp-attribution
Script class
AttributionComponent
Per entity
One
Version
1.0.0

Read about it in Frames and links: what it does, how to use it from a script, and examples.

Run it in the browser, read its scripts, and download it as an XR Creator project.

#pragma lifecycle(startup)
function startup() {
const component = self.parent.getComponent(AttributionComponent);
if (component) log(component.props);
}