@@ -13,7 +13,6 @@ import {
1313} from '@ir-engine/ecs'
1414import { LoopAnimationComponent } from '@ir-engine/engine/src/avatar/components/LoopAnimationComponent'
1515import { GLTFComponent } from '@ir-engine/engine/src/gltf/GLTFComponent'
16- import { NodeIDComponent } from '@ir-engine/engine/src/gltf/NodeIDComponent'
1716import {
1817 InteractableComponent ,
1918 XRUIActivationType
@@ -26,7 +25,7 @@ import { PrimitiveGeometryComponent } from '@ir-engine/engine/src/scene/componen
2625import { SDFComponent } from '@ir-engine/engine/src/scene/components/SDFComponent'
2726import { SceneDynamicLoadComponent } from '@ir-engine/engine/src/scene/components/SceneDynamicLoadComponent'
2827import { ShadowComponent } from '@ir-engine/engine/src/scene/components/ShadowComponent'
29- import { SourceComponent } from '@ir-engine/engine/src/scene/components/SourceComponent'
28+
3029import { SplineComponent } from '@ir-engine/engine/src/scene/components/SplineComponent'
3130import { SplineTrackComponent } from '@ir-engine/engine/src/scene/components/SplineTrackComponent'
3231import { Heuristic , VariantComponent } from '@ir-engine/engine/src/scene/components/VariantComponent'
@@ -229,7 +228,6 @@ export const subComponentExamples = [
229228 useEffect ( ( ) => {
230229 setComponent ( entity , NameComponent , 'Particle-Example' )
231230 setComponent ( entity , ParticleSystemComponent )
232- setComponent ( entity , SourceComponent , parent )
233231 setVisibleComponent ( entity , true )
234232 getComponent ( entity , TransformComponent ) . position . set ( 0 , 2 , 0 )
235233 } , [ ] )
@@ -432,7 +430,7 @@ export const subComponentExamples = [
432430 callbacks : [
433431 {
434432 callbackID : LinkComponent . linkCallbackName ,
435- target : getComponent ( entity , NodeIDComponent )
433+ target : getComponent ( entity , UUIDComponent ) . entityID
436434 }
437435 ]
438436 } )
0 commit comments