public void SetMesh(TimedVector3ArrayPool data) { if (data.Length < 2) { return; } var xAxis = data.Select(tvec => tvec.time).ToArray(); var yAxis = data.Select(tvec => tvec.value.magnitude).ToArray(); SetMesh(xAxis, yAxis); }
/*AUTO SCRIPT*/ /*AUTO SCRIPT*/ void OnEnable() /*AUTO SCRIPT*/ { /*AUTO SCRIPT*/ array = new TimedVector3ArrayPool(poolSize); /*AUTO SCRIPT*/ }