Skip to content

Conversation

@jailedfish
Copy link

This PR is just a little method to put Params in component without recreating it.

Comment on lines 63 to +71

/// <summary>
/// Set AudioParams for entity.
/// </summary>
public void SetAudioParams(Entity<AudioComponent> entity, AudioParams audioParams)
{
entity.Comp.Params = audioParams;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this need dirtying so it networks properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants