getChannel() public méthode

public getChannel ( string channel ) : double
channel string
Résultat double
    // Update is called once per frame
    void Update()
    {
        if (Input.GetKeyDown("up"))
        {
            tempo++;
            csound.setChannel("tempo", tempo);
        }
        else if (Input.GetKeyDown("down"))
        {
            tempo--;
            csound.setChannel("tempo", tempo);
        }

        if (currentBeat == csound.getChannel("beat"))
        {
            ResizeCube(currentBeat);
            currentBeat = (currentBeat != 7 ? currentBeat + 1 : 0);
        }
    }