コード例 #1
0
    // Use this for initialization
    void Start()
    {
        damLoad    = GameObject.Find("FullDamier").GetComponent <DamierLoader>();
        floorRythm = GameObject.Find("RythmBoxes").GetComponent <FloorRythm>();
        random     = new System.Random();
        //BPM = GameObject.Find("Main Camera").GetComponent<SceneSetup>().BPM;
        timerBPM = 1.0f / (BPM / 60.0f);

        Debug.Log(MenuCtrl.FinalDifficulty);
    }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        damLoad = GameObject.Find("FullDamier").GetComponent<DamierLoader>();
        floorRythm = GameObject.Find("RythmBoxes").GetComponent<FloorRythm>();
        random = new System.Random();
        //BPM = GameObject.Find("Main Camera").GetComponent<SceneSetup>().BPM;
        timerBPM = 1.0f / (BPM / 60.0f);

        Debug.Log(MenuCtrl.FinalDifficulty);
    }