示例#1
0
        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);
        }
示例#2
0
/*AUTO SCRIPT*/
/*AUTO SCRIPT*/ void OnEnable()
/*AUTO SCRIPT*/ {
/*AUTO SCRIPT*/ array = new TimedVector3ArrayPool(poolSize);
/*AUTO SCRIPT*/ }