Пример #1
0
 public GameObject getCandyObject()
 {
     return(TileGenerator.Choose(
                new GameObject[] { candy1, candy2, candy3, candy4, candy5, candy6, candy7 },
                new float[] { 0.145f, 0.145f, 0.145f, 0.145f, 0.145f, 0.145f, 0.13f },
                7));
 }