Exemple #1
0
 // Token: 0x0600137D RID: 4989 RVA: 0x00095543 File Offset: 0x00093943
 public static Mesh NewBoltMesh(Vector2 vector, float str = 3f)
 {
     LightningLaserBoltMeshMaker.lightningTop = vector;
     LightningLaserBoltMeshMaker.MakeVerticesBase();
     LightningLaserBoltMeshMaker.PeturbVerticesRandomly(str);
     LightningLaserBoltMeshMaker.DoubleVertices();
     return(LightningLaserBoltMeshMaker.MeshFromVerts());
 }
Exemple #2
0
 // Token: 0x0600137D RID: 4989 RVA: 0x00095543 File Offset: 0x00093943
 public static Mesh NewBoltMesh(float xMin = -50f, float xMax = 50f, float z = 200f, float str = 3f)
 {
     LightningLaserBoltMeshMaker.lightningTop = new Vector2(Rand.Range(xMin, xMax), z);
     LightningLaserBoltMeshMaker.MakeVerticesBase();
     LightningLaserBoltMeshMaker.PeturbVerticesRandomly(str);
     LightningLaserBoltMeshMaker.DoubleVertices();
     return(LightningLaserBoltMeshMaker.MeshFromVerts());
 }