@@ -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'
@@ -228,7 +227,6 @@ export const subComponentExamples = [
228227 useEffect ( ( ) => {
229228 setComponent ( entity , NameComponent , 'Particle-Example' )
230229 setComponent ( entity , ParticleSystemComponent )
231- setComponent ( entity , SourceComponent , parent )
232230 setVisibleComponent ( entity , true )
233231 getComponent ( entity , TransformComponent ) . position . set ( 0 , 2 , 0 )
234232 } , [ ] )
@@ -430,7 +428,7 @@ export const subComponentExamples = [
430428 callbacks : [
431429 {
432430 callbackID : LinkComponent . linkCallbackName ,
433- target : getComponent ( entity , NodeIDComponent )
431+ target : getComponent ( entity , UUIDComponent ) . entityID
434432 }
435433 ]
436434 } )
0 commit comments