Args Container

Back


Assembly: CarterGames.AudioManager.Runtime

Namespace: CarterGames.Assets.AudioManager


Methods


AudioArgs


Method

Declarations

public Hashtable AudioArgs(params object[] args);

Returns

Hashtable → The generated table for use with the asset.


Generates a hashtable with the parameters you enter to save a few lines of code and make the system easier to use.


var args = ArgsContainer.AudioArgs("position", Vector3.zero, "time", .1f, "pitch", .8f);