unity c# list lenght code example
Example: how to get the length list in c# unity
public List<Transform> items = new List<Transform>();
void Start()
{
print(items.Count);
items.Add(new Transform());
print(items.Count);
}
//output\\
/// 0
/// 1