예제 #1
0
    private void Awake()
    {
        if (synthParameters == null)
        {
            synthParameters = SynthManager.Instance.SynthParameters;
        }

        synthParameters.attackVolume  = 0.1f;
        synthParameters.decayVolume   = 0.08f;
        synthParameters.sustainVolume = 0.04f;
        synthParameters.attackTime    = 0.5f;
        synthParameters.decayTime     = 0.2f;
        synthParameters.sustainVolume = 1;
        synthParameters.attackRate    = 1;
        synthParameters.decayRate     = 1;
        synthParameters.sustainRate   = 0.2f;
        panel = GameObject.FindWithTag("Panel");
    }
예제 #2
0
 private void Awake()
 {
     synthParameters = SynthManager.Instance.SynthParameters;
 }