示例#1
0
        public void SetMesh(TimedFloatArrayPool data)
        {
            if (data.Length < 2)
            {
                return;
            }
            var xAxis = data.Select(tv => tv.time).ToArray();
            var yAxis = data.Select(tv => tv.value).ToArray();

            SetMesh(xAxis, yAxis);
        }
示例#2
0
/*AUTO SCRIPT*/
/*AUTO SCRIPT*/ void OnEnable()
/*AUTO SCRIPT*/ {
/*AUTO SCRIPT*/ array = new TimedFloatArrayPool(poolSize);
/*AUTO SCRIPT*/ }