Unity C# 初級(jí)編程| 13 . 數(shù)組(Array)
數(shù)組 (Array)
數(shù)組:一個(gè)包含了同種類型的多種信的變量
定義數(shù)值
數(shù)據(jù)面板

怎么使用數(shù)組
輸出結(jié)果

練習(xí)1

練習(xí)2 ?隨機(jī)選擇其中一個(gè)
輸出結(jié)果

練習(xí)3 ?

資料參考:
https://www.runoob.com/csharp/csharp-array.html
標(biāo)簽: