Vector and list.add not working ?

It could be still some error i make. Most i solved.
I try to add a vector into a list. with something like this

public List<Vector> waypoint_pos = new List<Vector>();
waypoint_pos.add(0.0f, 0.0f, 0.5143f)

First i made some errors that visual studio complained about. That's all fixed. And things seems ok. But sansar keeps complaining in a tiny font about that add not exists etc.

This are the classes.

using Sansar;
using Sansar.Script;
using Sansar.Simulation;
using System;
using System.Collections.Generic

Now am doing something wrong ?
And what do i wrong ?

If this does not work how can i add a long list of vectors into a list. Not want to use arrays and json i don't know if it's supported and i need to study on thata gain. While ago i used json. never used it with C#


Please sign in to leave a comment.