What's the equivalent of PoolVector2Array in C#?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By imekon

With Mono/C# I tried to create a PoolVector2Array with:

var point = new PoolVector2Array();

I get an error:

The type of namespace name 'PoolVector2Array' cannot be found (are you missing a using directive or an assembly reference?)

How can I fix this?

This may not be your issue, but the line should be the following:

PoolVector2Array point = new PoolVector2Array();

2D||!2D | 2018-05-19 19:47

:bust_in_silhouette: Reply From: imekon

It’s Vector2

or if its List

then it’s

list.ToArray()