Hi there…I have a similar issue to the footsteps question before…would like to vary a sound’s pitch each time it is triggered…tried to modify the script for the footsteps pitch variation…but does not compile…
function Start(){
audio.clip = squeakysample[Random.Range(0, squeakysample.length)];
audio.Play();
}
Also…do I attach this to the sample itself?
Apologies for newbiness…just beginning unity recently…cheers!
In ecs you communicate with entities by changing their data OR create dedicated entities that pass the message.
– andrew-lukasikI can help you with this but I have a very vague idea of what you want here. "chunk" and "to make bigger", without context, mean everything and nothing to me. Sure there are ways to scale thousands of entities but I'm not sure where to begin without seeing more precise question or related code first.
– andrew-lukasik