Beispiel #1
0
    void Awake()
    {
        //取得
        main_Camera     = GameObject.FindWithTag("MainCamera");
        camera_Position = main_Camera.transform.position.x;

        //代入
        back_Grounds[0] = left;
        back_Grounds[1] = center;
        back_Grounds[2] = right;
        SPEED_RATE      = speed_Rate;

        for (int i = 0; i < 3; i++)
        {
            dequeue.Add_Last(back_Grounds[i]);
        }
    }