public static Mesh NewBoltMesh(Vector2 vector, SimpleCurve strDist = null, SimpleCurve widthDist = null, SimpleCurve strTime = null, SimpleCurve widthTime = null, float originVariance = 0.0f, float capSize = 1.0f, float vertexInterval = 0.25f)
        {
            LightningLaserBoltMeshMaker.lightningOrigin = vector;

            /*
             * lightningOrigin.x += Rand.Range(-originVariance, originVariance);
             * lightningOrigin.y += Rand.Range(-originVariance, originVariance);
             */
            LightningLaserBoltMeshMaker.MakeVerticesBase(vertexInterval, originVariance);
            LightningLaserBoltMeshMaker.PeturbVerticesRandomly(strDist);
            LightningLaserBoltMeshMaker.DoubleVertices(widthDist);
            return(LightningLaserBoltMeshMaker.MeshFromVerts());
        }
        public static Mesh NewBoltMesh(Vector2 vector, float str = 3f, float width = 1f, float originVariance = 0.0f, float capSize = 1.0f, float vertexInterval = 0.25f)
        {
            LightningLaserBoltMeshMaker.lightningOrigin = vector;

            /*
             * lightningOrigin.x += Rand.Range(-originVariance, originVariance);
             * lightningOrigin.y += Rand.Range(-originVariance, originVariance);
             */
            LightningLaserBoltMeshMaker.MakeVerticesBase(vertexInterval, originVariance);
            LightningLaserBoltMeshMaker.PeturbVerticesRandomly(str);
            LightningLaserBoltMeshMaker.DoubleVertices(width, capSize);
            return(LightningLaserBoltMeshMaker.MeshFromVerts(width));
        }