Tanoda
pb_CollectionUtil.cs
Go to the documentation of this file.
1
using
UnityEngine
;
2
3
namespace
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
}
GILES
Definition:
pb_CollectionUtil.cs:4
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
GILES
Code
Classes
Extension
pb_CollectionUtil.cs
Generated by
1.9.3