public void Init(AudioSourceConfiguration config, Transform anchor) { _anchor = anchor; _source = GetComponent <AudioSource>(); _source.loop = true; _source.Play(); _source.volume = 0; _volume.Start(0); _volume.SetDesire(1); _config = config; config.SetConfiguration(_source); _source.volume = _volume.Value * config.Volume; }
public void Start(float value) { _animator.Start(value); }