Пример #1
0
 // Use this for initialization
 void Start()
 {
     for (int i = 0; i < 100; i++)
     {
         lstcontent.Add(i.ToString());
     }
     ull.Data(lstcontent.ToArray());
 }
Пример #2
0
    // Use this for initialization
    void Start()
    {
        string sql = "SELECT * FROM `test` where state = 1";

        result = DataDBContorller.Select(sql);
        List <string[]> listData = new List <string[]>();

        for (int i = 0; i < result.Count - 50; i++)
        {
            listData.Add(result[i]);
        }
        MainCanvasContentInHousingResource.Data(listData);
    }