void Update() { for(int i=0; i < cubeBG.Count;i++){ cubeBG[i].Rotate(rotate[i]*Time.deltaTime/speed); } }