コード例 #1
0
 // Token: 0x0600137D RID: 4989 RVA: 0x00095543 File Offset: 0x00093943
 public static Mesh NewBoltMesh(Vector2 vector, float str = 3f)
 {
     LightningBoltMeshMakerOG.lightningTop = vector;
     LightningBoltMeshMakerOG.MakeVerticesBase();
     LightningBoltMeshMakerOG.PeturbVerticesRandomly(str);
     LightningBoltMeshMakerOG.DoubleVertices();
     return(LightningBoltMeshMakerOG.MeshFromVerts());
 }
コード例 #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)
 {
     LightningBoltMeshMakerOG.lightningTop = new Vector2(Rand.Range(xMin, xMax), z);
     LightningBoltMeshMakerOG.MakeVerticesBase();
     LightningBoltMeshMakerOG.PeturbVerticesRandomly(str);
     LightningBoltMeshMakerOG.DoubleVertices();
     return(LightningBoltMeshMakerOG.MeshFromVerts());
 }