Pushbutton Engine EventSoundTrigger question?

It seems that when the EventSoundTrigger component is added to the entity, it needs that the startSound resource is ready. To do so, you could load the resource first and then create the component.

It seems that when the EventSoundTrigger component is added to the entity, it needs that the startSound resource is ready. To do so, you could load the resource first and then create the component: PBE.resourceManager. Load("assets/02.

Mp3", MP3Resource, onLoaded, onFailed) as MP3Resource; private function onLoaded(resource:MP3Resource):void { var et:EventSoundTrigger = new EventSoundTrigger(); et. StartSound = resource; var tEntity:IEntity = PBE.allocateEntity(); tEntity. AddComponent( et , "sound" ) ; tEntity.

Deferring=false; }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions