コード例 #1
0
 private void Start()
 {
     GetComponent <Renderer>().material.color = CubesColors.GetColor(gameObject.name);
 }
コード例 #2
0
 public static Color GetSelectedCubeColor()
 {
     return(CubesColors.GetColor(SelectedCube));
 }