Tanoda
pb_CollectionUtil.cs
Go to the documentation of this file.
1using UnityEngine;
2
3namespace GILES
4{
8 public static class pb_CollectionUtil
9 {
13 public static T[] Fill<T>(T value, int length)
14 {
15 T[] arr = new T[length];
16 for(int i = 0; i < length; i++)
17 arr[i] = value;
18 return arr;
19 }
20
21 }
22}