Unity使用Random對數組隨機排序

說明: 本文簡單實現一個在Unity使用Random對數組隨機排序的小功能。數組 代碼以下所示: using UnityEngine; using System.Collections; public class random : MonoBehaviour {     //初始化N個整形數組     int []numArray = new int[6];     //隨機的次數     i
相關文章
相關標籤/搜索