1797 lines
69 KiB
C#
1797 lines
69 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using ProBuilder2.Common;
|
|
using ProBuilder2.MeshOperations;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200127C RID: 4732
|
|
public class ExtrudeRandomEdges : MonoBehaviour
|
|
{
|
|
// Token: 0x06028F67 RID: 167783 RVA: 0x00B6BD3C File Offset: 0x00B69F3C
|
|
private static bool AGLOEOGLEDC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F68 RID: 167784 RVA: 0x00B6BD48 File Offset: 0x00B69F48
|
|
private static bool LIAMFNIGCFF(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F69 RID: 167785 RVA: 0x00B6BD54 File Offset: 0x00B69F54
|
|
private static pb_Edge AFDOGOOMEAK(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F6A RID: 167786 RVA: 0x00B6BD64 File Offset: 0x00B69F64
|
|
private void LLIKDEJPKIN()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.OBEELMGMFCN));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.KCHOOJJKPJC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.BNCMIDONHEC);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1410f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.JAFGLCBFOHM), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1746f, true, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)53);
|
|
}
|
|
|
|
// Token: 0x06028F6B RID: 167787 RVA: 0x00B6BF00 File Offset: 0x00B6A100
|
|
private void EAIGNDEHGHN()
|
|
{
|
|
if (GUILayout.Button("HairColor", new GUILayoutOption[1]))
|
|
{
|
|
this.BCPKKGKNJOH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F6C RID: 167788 RVA: 0x00B6BF20 File Offset: 0x00B6A120
|
|
private void NOFGCGLJLMI()
|
|
{
|
|
if (GUILayout.Button("Disabled", new GUILayoutOption[0]))
|
|
{
|
|
this.FCIOKKGCEPK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F6D RID: 167789 RVA: 0x00B6BF40 File Offset: 0x00B6A140
|
|
private static bool PBKLNCEKPCI(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F6E RID: 167790 RVA: 0x00B6BF4C File Offset: 0x00B6A14C
|
|
private static bool BGKGJDNMHAF(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F6F RID: 167791 RVA: 0x00B6BF58 File Offset: 0x00B6A158
|
|
private void DBAJJGGMICL()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.ECNMLHPCNHF));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.GHAGFIIOFNK);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.EAGDELBFNJD);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 291f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.ELALBEOHJLD), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1990f, false, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-134));
|
|
}
|
|
|
|
// Token: 0x06028F70 RID: 167792 RVA: 0x00B6C0F4 File Offset: 0x00B6A2F4
|
|
private static pb_Edge MDKKBGINLKK(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F71 RID: 167793 RVA: 0x00B6C104 File Offset: 0x00B6A304
|
|
private static bool POBEKBAOECJ(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F72 RID: 167794 RVA: 0x00B6C110 File Offset: 0x00B6A310
|
|
private void JGGEJMODOLM()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.MPMODOIAAGE));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.POBEKBAOECJ);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.DGLDLFPBGMJ);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 487f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.OOELOEOEJAM), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1299f, false, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)93);
|
|
}
|
|
|
|
// Token: 0x06028F73 RID: 167795 RVA: 0x00B6C2AC File Offset: 0x00B6A4AC
|
|
private void IMCIBBPCAAM()
|
|
{
|
|
if (GUILayout.Button("Loaded saved outfit", new GUILayoutOption[0]))
|
|
{
|
|
this.AHDHBFPKBID();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F74 RID: 167796 RVA: 0x00B6C2CC File Offset: 0x00B6A4CC
|
|
private void DFJBPPHMPJN()
|
|
{
|
|
if (GUILayout.Button("Ev OwnershipTransfer. ViewID ", new GUILayoutOption[0]))
|
|
{
|
|
this.BPJAFOCOLEH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F75 RID: 167797 RVA: 0x00B6C2EC File Offset: 0x00B6A4EC
|
|
private void BJPGKCHKLLM()
|
|
{
|
|
if (GUILayout.Button("OOBEFlowBase.RunWaitForPlayerSpawn(): Error code FROSTBITE", new GUILayoutOption[0]))
|
|
{
|
|
this.DBAJJGGMICL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F76 RID: 167798 RVA: 0x00B6C30C File Offset: 0x00B6A50C
|
|
private void GDCHCMOHPKC()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.DOBDAENFDAJ));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.DNPIDJEHNEA);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.FMLKGGHOPPG);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 754f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.NAGBAMDKDAB), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[1];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 568f, true, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-11));
|
|
}
|
|
|
|
// Token: 0x06028F77 RID: 167799 RVA: 0x00B6C4A8 File Offset: 0x00B6A6A8
|
|
private void EBABKLFNFMJ()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.NFHFAELMGBE));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.AKBAECKBHCJ);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.MKGNKPNAKLJ);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1243f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.JAFGLCBFOHM), null);
|
|
vector.Normalize();
|
|
pb_Edge[] array;
|
|
this.JENPMJBNAGI.Extrude(new pb_Edge[] { pb_Edge }, 1476f, true, true, out array);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)192);
|
|
}
|
|
|
|
// Token: 0x06028F78 RID: 167800 RVA: 0x00B6C644 File Offset: 0x00B6A844
|
|
private void OHLOLBHFPPM()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.CMJAJDPCFJA));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.AGLOEOGLEDC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.GPONNJCELAD);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1873f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.PEBMOONMOBK), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[1];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1778f, false, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-190));
|
|
}
|
|
|
|
// Token: 0x06028F79 RID: 167801 RVA: 0x00B6C7E0 File Offset: 0x00B6A9E0
|
|
private void HAOFMMCKJCE()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(543f, 1882f, 1, 0, Axis.Right, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028F7A RID: 167802 RVA: 0x00B6C834 File Offset: 0x00B6AA34
|
|
private static bool CFHGJHPNOHK(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F7B RID: 167803 RVA: 0x00B6C840 File Offset: 0x00B6AA40
|
|
private static pb_Edge CDCOOFKCCHD(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F7C RID: 167804 RVA: 0x00B6C850 File Offset: 0x00B6AA50
|
|
private static bool LCOPLDJBKNC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F7D RID: 167805 RVA: 0x00B6C85C File Offset: 0x00B6AA5C
|
|
private static pb_Edge DFABMMONMPK(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F7E RID: 167806 RVA: 0x00B6C86C File Offset: 0x00B6AA6C
|
|
private static bool NBILHHJCFJC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F80 RID: 167808 RVA: 0x00B6C88C File Offset: 0x00B6AA8C
|
|
private void LPOMDLJJBKF()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1260f, 375f, 1, 1, Axis.Down, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028F81 RID: 167809 RVA: 0x00B6C8E0 File Offset: 0x00B6AAE0
|
|
private void BDINCFOFJLG()
|
|
{
|
|
if (GUILayout.Button("SplitTestAssignedSegments", new GUILayoutOption[1]))
|
|
{
|
|
this.BCPKKGKNJOH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F82 RID: 167810 RVA: 0x00B6C900 File Offset: 0x00B6AB00
|
|
private void BCEECLPFOAF()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(949f, 1359f, 1, 1, Axis.Down, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028F83 RID: 167811 RVA: 0x00B6C954 File Offset: 0x00B6AB54
|
|
private static pb_Edge DGLDLFPBGMJ(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F84 RID: 167812 RVA: 0x00B6C964 File Offset: 0x00B6AB64
|
|
private void GPGPNMMFOAO()
|
|
{
|
|
if (GUILayout.Button(" does not have any subscreens. There must be at least one subscreen.", new GUILayoutOption[0]))
|
|
{
|
|
this.NHJJGNBMPAM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F85 RID: 167813 RVA: 0x00B6C984 File Offset: 0x00B6AB84
|
|
private void AAGCAANOLMK()
|
|
{
|
|
if (GUILayout.Button("Ignore Raycast", new GUILayoutOption[1]))
|
|
{
|
|
this.FKLAGGFJLOP();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F86 RID: 167814 RVA: 0x00B6C9A4 File Offset: 0x00B6ABA4
|
|
private void OBDBCPMLCMI()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.CNBODKBDHKF));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.CFHGJHPNOHK);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.MKGNKPNAKLJ);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1275f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.JHGJBIKACFC), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1991f, true, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-117));
|
|
}
|
|
|
|
// Token: 0x06028F87 RID: 167815 RVA: 0x00B6CB40 File Offset: 0x00B6AD40
|
|
private void FAJGMJFGMHP()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1223f, 703f, 1, 0, Axis.Right, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028F88 RID: 167816 RVA: 0x00B6CB94 File Offset: 0x00B6AD94
|
|
private static bool KOJLOCBFIEF(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F89 RID: 167817 RVA: 0x00B6CBA0 File Offset: 0x00B6ADA0
|
|
private static pb_Edge IPHFMIIABBB(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F8A RID: 167818 RVA: 0x00B6CBB0 File Offset: 0x00B6ADB0
|
|
private static pb_Edge MEHNKJAFPMC(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F8B RID: 167819 RVA: 0x00B6CBC0 File Offset: 0x00B6ADC0
|
|
private static pb_Edge NLJPFAPKCGG(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F8C RID: 167820 RVA: 0x00B6CBD0 File Offset: 0x00B6ADD0
|
|
private void NHAOAEBNLJI()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(843f, 578f, 0, 0, Axis.Backward, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028F8D RID: 167821 RVA: 0x00B6CC24 File Offset: 0x00B6AE24
|
|
private static pb_Edge BNCMIDONHEC(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F8E RID: 167822 RVA: 0x00B6CC34 File Offset: 0x00B6AE34
|
|
private static pb_Edge EEGKJENKEKE(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F8F RID: 167823 RVA: 0x00B6CC44 File Offset: 0x00B6AE44
|
|
private void IDMBDGBOOPL()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1699f, 1903f, 0, 1, (Axis)8, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028F90 RID: 167824 RVA: 0x00B6CC98 File Offset: 0x00B6AE98
|
|
[CompilerGenerated]
|
|
private static pb_Edge IELCMAFCAJF(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F91 RID: 167825 RVA: 0x00B6CCA8 File Offset: 0x00B6AEA8
|
|
private static bool KCHOOJJKPJC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F92 RID: 167826 RVA: 0x00B6CCB4 File Offset: 0x00B6AEB4
|
|
private void FCIOKKGCEPK()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.PGGNPPHMGMF));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.BGKGJDNMHAF);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.FMLKGGHOPPG);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 87f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.OMPCKNHFFGM), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[1];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 705f, true, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)74);
|
|
}
|
|
|
|
// Token: 0x06028F93 RID: 167827 RVA: 0x00B6CE50 File Offset: 0x00B6B050
|
|
private void HJGHMINCHNM()
|
|
{
|
|
if (GUILayout.Button("Quest Room ", new GUILayoutOption[1]))
|
|
{
|
|
this.OHLOLBHFPPM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F94 RID: 167828 RVA: 0x00B6CE70 File Offset: 0x00B6B070
|
|
private void FKHIDLAJLKK()
|
|
{
|
|
if (GUILayout.Button("CatGirl", new GUILayoutOption[0]))
|
|
{
|
|
this.BPJAFOCOLEH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F95 RID: 167829 RVA: 0x00B6CE90 File Offset: 0x00B6B090
|
|
private void PIIKJLMHIBK()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.NFHFAELMGBE));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.NPBACPIONHC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.MDKKBGINLKK);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1047f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.ELALBEOHJLD), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 446f, false, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-135));
|
|
}
|
|
|
|
// Token: 0x06028F96 RID: 167830 RVA: 0x00B6D02C File Offset: 0x00B6B22C
|
|
private static pb_Edge JPNDKHJLCAL(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F97 RID: 167831 RVA: 0x00B6D03C File Offset: 0x00B6B23C
|
|
private void KDBBACLJIAP()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(437f, 1742f, 0, 0, Axis.Down, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028F98 RID: 167832 RVA: 0x00B6D090 File Offset: 0x00B6B290
|
|
private void EPKKEHPKPEJ()
|
|
{
|
|
if (GUILayout.Button("demoLong", new GUILayoutOption[0]))
|
|
{
|
|
this.PCNAHOAGENP();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028F99 RID: 167833 RVA: 0x00B6D0B0 File Offset: 0x00B6B2B0
|
|
private void OHCOAFALFMI()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.PGGNPPHMGMF));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.JMGIBCLOMPO);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.IPHFMIIABBB);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1361f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.FFKBFPCGKGO), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 480f, false, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-4));
|
|
}
|
|
|
|
// Token: 0x06028F9A RID: 167834 RVA: 0x00B6D24C File Offset: 0x00B6B44C
|
|
private static bool GPNBOFHAMNH(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F9B RID: 167835 RVA: 0x00B6D258 File Offset: 0x00B6B458
|
|
private void AHDHBFPKBID()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.GGGFLBOFLEC));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.GHAGFIIOFNK);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.BNCMIDONHEC);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 444f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.GFDJDIFPJAA), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[1];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 528f, true, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-70));
|
|
}
|
|
|
|
// Token: 0x06028F9C RID: 167836 RVA: 0x00B6D3F4 File Offset: 0x00B6B5F4
|
|
private void KPDHBCGEENI()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1517f, 953f, 1, 0, Axis.Left, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028F9D RID: 167837 RVA: 0x00B6D448 File Offset: 0x00B6B648
|
|
private static bool DHDJNGIGFAO(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028F9E RID: 167838 RVA: 0x00B6D454 File Offset: 0x00B6B654
|
|
private static pb_Edge EAGDELBFNJD(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028F9F RID: 167839 RVA: 0x00B6D464 File Offset: 0x00B6B664
|
|
private void PIKIDAHJIIH()
|
|
{
|
|
if (GUILayout.Button("Value", new GUILayoutOption[1]))
|
|
{
|
|
this.FKLAGGFJLOP();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FA0 RID: 167840 RVA: 0x00B6D484 File Offset: 0x00B6B684
|
|
private void NMBPAEMOODM()
|
|
{
|
|
if (GUILayout.Button("READY TO START", new GUILayoutOption[0]))
|
|
{
|
|
this.FCIOKKGCEPK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FA1 RID: 167841 RVA: 0x00B6D4A4 File Offset: 0x00B6B6A4
|
|
private void Start()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1f, 1f, 0, 0, Axis.Up, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FA2 RID: 167842 RVA: 0x00B6D4F8 File Offset: 0x00B6B6F8
|
|
private static bool JIEBPIDPOGP(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FA3 RID: 167843 RVA: 0x00B6D504 File Offset: 0x00B6B704
|
|
private void BCPKKGKNJOH()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.OJKNBNGGBEC));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.AKBAECKBHCJ);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.IELCMAFCAJF);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 0.5f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.JAFGLCBFOHM), null);
|
|
vector.Normalize();
|
|
pb_Edge[] array;
|
|
this.JENPMJBNAGI.Extrude(new pb_Edge[] { pb_Edge }, 0f, false, true, out array);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh(RefreshMask.All);
|
|
}
|
|
|
|
// Token: 0x06028FA4 RID: 167844 RVA: 0x00B6D6A0 File Offset: 0x00B6B8A0
|
|
private static pb_Edge NDBJIIJFPLP(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028FA5 RID: 167845 RVA: 0x00B6D6B0 File Offset: 0x00B6B8B0
|
|
private void FKLAGGFJLOP()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.CMJAJDPCFJA));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.KOJLOCBFIEF);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.NLJPFAPKCGG);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1112f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.NCJCLHBFGJF), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[1];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 478f, false, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)173);
|
|
}
|
|
|
|
// Token: 0x06028FA6 RID: 167846 RVA: 0x00B6D84C File Offset: 0x00B6BA4C
|
|
private static bool JMGIBCLOMPO(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FA7 RID: 167847 RVA: 0x00B6D858 File Offset: 0x00B6BA58
|
|
private void FJMEMNDLILK()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.IBLIPIGAMEL));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.AKBAECKBHCJ);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.JPNDKHJLCAL);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1258f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.OMPCKNHFFGM), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1011f, false, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-160));
|
|
}
|
|
|
|
// Token: 0x06028FA8 RID: 167848 RVA: 0x00B6D9F4 File Offset: 0x00B6BBF4
|
|
private static bool GHAGFIIOFNK(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FA9 RID: 167849 RVA: 0x00B6DA00 File Offset: 0x00B6BC00
|
|
private void HAEPDHANBBJ()
|
|
{
|
|
if (GUILayout.Button(" to: ", new GUILayoutOption[0]))
|
|
{
|
|
this.GDCHCMOHPKC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FAA RID: 167850 RVA: 0x00B6DA20 File Offset: 0x00B6BC20
|
|
private void JDOGPGIOOPG()
|
|
{
|
|
if (GUILayout.Button("fndid", new GUILayoutOption[0]))
|
|
{
|
|
this.OBDBCPMLCMI();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FAB RID: 167851 RVA: 0x00B6DA40 File Offset: 0x00B6BC40
|
|
private void PGELJEHELFN()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(545f, 475f, 1, 1, Axis.Up, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028FAC RID: 167852 RVA: 0x00B6DA94 File Offset: 0x00B6BC94
|
|
private void CLMIHIHGFDE()
|
|
{
|
|
if (GUILayout.Button("Username", new GUILayoutOption[1]))
|
|
{
|
|
this.HMHJDLKMCCM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FAD RID: 167853 RVA: 0x00B6DAB4 File Offset: 0x00B6BCB4
|
|
private void OJGJEHGKDFP()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(843f, 702f, 0, 0, (Axis)7, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028FAE RID: 167854 RVA: 0x00B6DB08 File Offset: 0x00B6BD08
|
|
private static pb_Edge NMLIHIINAHM(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028FAF RID: 167855 RVA: 0x00B6DB18 File Offset: 0x00B6BD18
|
|
private void AIHNDJBIAIB()
|
|
{
|
|
if (GUILayout.Button("Reconnect() failed. Can only connect while in state 'Disconnected'. Current state: ", new GUILayoutOption[1]))
|
|
{
|
|
this.EBABKLFNFMJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FB0 RID: 167856 RVA: 0x00B6DB38 File Offset: 0x00B6BD38
|
|
private void EONMIHOPPOJ()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(935f, 272f, 0, 1, (Axis)8, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FB1 RID: 167857 RVA: 0x00B6DB8C File Offset: 0x00B6BD8C
|
|
private void EPJEBLIGNKN()
|
|
{
|
|
if (GUILayout.Button("Physics", new GUILayoutOption[1]))
|
|
{
|
|
this.FKLAGGFJLOP();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FB2 RID: 167858 RVA: 0x00B6DBAC File Offset: 0x00B6BDAC
|
|
private static pb_Edge IALIKKECHHG(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028FB3 RID: 167859 RVA: 0x00B6DBBC File Offset: 0x00B6BDBC
|
|
private void FNNFFCNDPCC()
|
|
{
|
|
if (GUILayout.Button("Check back later!", new GUILayoutOption[1]))
|
|
{
|
|
this.FCIOKKGCEPK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FB4 RID: 167860 RVA: 0x00B6DBDC File Offset: 0x00B6BDDC
|
|
private void HMHJDLKMCCM()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.IBLIPIGAMEL));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.JEFNOMDKGFJ);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.CDCOOFKCCHD);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1763f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.OMPCKNHFFGM), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 996f, false, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)160);
|
|
}
|
|
|
|
// Token: 0x06028FB5 RID: 167861 RVA: 0x00B6DD78 File Offset: 0x00B6BF78
|
|
private void OnGUI()
|
|
{
|
|
if (GUILayout.Button("Extrude Random Edge", new GUILayoutOption[0]))
|
|
{
|
|
this.BCPKKGKNJOH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FB6 RID: 167862 RVA: 0x00B6DD98 File Offset: 0x00B6BF98
|
|
private void JJEHDEOKOBB()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(789f, 1767f, 0, 1, Axis.Backward, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FB7 RID: 167863 RVA: 0x00B6DDEC File Offset: 0x00B6BFEC
|
|
private void HELJHCHBMCD()
|
|
{
|
|
if (GUILayout.Button("View ({3}){0} on {1} {2}", new GUILayoutOption[1]))
|
|
{
|
|
this.EBABKLFNFMJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FB8 RID: 167864 RVA: 0x00B6DE0C File Offset: 0x00B6C00C
|
|
private void CJIBCBLNGGM()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1528f, 781f, 0, 0, Axis.Up, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FB9 RID: 167865 RVA: 0x00B6DE60 File Offset: 0x00B6C060
|
|
private static bool GHHJHAMPHOC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FBA RID: 167866 RVA: 0x00B6DE6C File Offset: 0x00B6C06C
|
|
private void CHDMOGDOJOM()
|
|
{
|
|
if (GUILayout.Button("type", new GUILayoutOption[0]))
|
|
{
|
|
this.OHCOAFALFMI();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FBB RID: 167867 RVA: 0x00B6DE8C File Offset: 0x00B6C08C
|
|
private void BPJAFOCOLEH()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.OJKNBNGGBEC));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.CFHGJHPNOHK);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.CJPCJNMONBG);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1153f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.IILNOHOPHPG), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[1];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1598f, true, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)64);
|
|
}
|
|
|
|
// Token: 0x06028FBC RID: 167868 RVA: 0x00B6E028 File Offset: 0x00B6C228
|
|
private void LPKLPAKEHKD()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1784f, 1971f, 0, 0, Axis.Up, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FBD RID: 167869 RVA: 0x00B6E07C File Offset: 0x00B6C27C
|
|
private void NPLOOEBBHOC()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.NFHFAELMGBE));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.LCOPLDJBKNC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.IALIKKECHHG);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1232f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.PNMBBKILIMJ), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[0] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1268f, true, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)194);
|
|
}
|
|
|
|
// Token: 0x06028FBE RID: 167870 RVA: 0x00B6E218 File Offset: 0x00B6C418
|
|
private void KOAENLLIKMP()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1040f, 1506f, 1, 0, Axis.Backward, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FBF RID: 167871 RVA: 0x00B6E26C File Offset: 0x00B6C46C
|
|
private static bool DOOPCGHJNBN(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FC0 RID: 167872 RVA: 0x00B6E278 File Offset: 0x00B6C478
|
|
private void ECJGFCLMLKJ()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, false);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.FCPOAPOOJJO));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.AGLOEOGLEDC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.MDKKBGINLKK);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1835f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.GFDJDIFPJAA), null);
|
|
vector.Normalize();
|
|
pb_Edge[] array;
|
|
this.JENPMJBNAGI.Extrude(new pb_Edge[] { pb_Edge }, 717f, true, false, out array);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)163);
|
|
}
|
|
|
|
// Token: 0x06028FC1 RID: 167873 RVA: 0x00B6E414 File Offset: 0x00B6C614
|
|
private static bool NPBACPIONHC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FC2 RID: 167874 RVA: 0x00B6E420 File Offset: 0x00B6C620
|
|
private void CBJMGGFPHMG()
|
|
{
|
|
if (GUILayout.Button("DownloadProgress", new GUILayoutOption[1]))
|
|
{
|
|
this.DBAJJGGMICL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FC3 RID: 167875 RVA: 0x00B6E440 File Offset: 0x00B6C640
|
|
private void HDCAMLJLKHC()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1864f, 839f, 0, 0, Axis.Forward, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FC4 RID: 167876 RVA: 0x00B6E494 File Offset: 0x00B6C694
|
|
private void HJNLGNADGJB()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.ECNMLHPCNHF));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.LCOPLDJBKNC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.NLJPFAPKCGG);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1647f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.JHGJBIKACFC), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 398f, false, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-45));
|
|
}
|
|
|
|
// Token: 0x06028FC5 RID: 167877 RVA: 0x00B6E630 File Offset: 0x00B6C830
|
|
private void PCNAHOAGENP()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.FCPOAPOOJJO));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.NPBACPIONHC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.CDCOOFKCCHD);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(0, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1710f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.MJPEKLPCDDD), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[1];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1763f, false, true, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-15));
|
|
}
|
|
|
|
// Token: 0x06028FC6 RID: 167878 RVA: 0x00B6E7CC File Offset: 0x00B6C9CC
|
|
private void OGEKNOMFAMN()
|
|
{
|
|
if (GUILayout.Button("HTTPConnection", new GUILayoutOption[1]))
|
|
{
|
|
this.BPJAFOCOLEH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FC7 RID: 167879 RVA: 0x00B6E7EC File Offset: 0x00B6C9EC
|
|
private void DHGILNNMBBC()
|
|
{
|
|
if (GUILayout.Button("Flying Speed ({0:0.00})", new GUILayoutOption[0]))
|
|
{
|
|
this.FJMEMNDLILK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FC8 RID: 167880 RVA: 0x00B6E80C File Offset: 0x00B6CA0C
|
|
private void MLHKGIFJOLO()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(810f, 838f, 1, 1, Axis.Up, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[0];
|
|
}
|
|
|
|
// Token: 0x06028FC9 RID: 167881 RVA: 0x00B6E860 File Offset: 0x00B6CA60
|
|
private void AGCEPCJHFBD()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1105f, 1693f, 1, 1, Axis.Backward, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028FCA RID: 167882 RVA: 0x00B6E8B4 File Offset: 0x00B6CAB4
|
|
private static bool JEFNOMDKGFJ(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FCB RID: 167883 RVA: 0x00B6E8C0 File Offset: 0x00B6CAC0
|
|
private static pb_Edge FMLKGGHOPPG(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028FCC RID: 167884 RVA: 0x00B6E8D0 File Offset: 0x00B6CAD0
|
|
private static bool DNPIDJEHNEA(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FCD RID: 167885 RVA: 0x00B6E8DC File Offset: 0x00B6CADC
|
|
private static pb_Edge MKGNKPNAKLJ(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028FCE RID: 167886 RVA: 0x00B6E8EC File Offset: 0x00B6CAEC
|
|
[CompilerGenerated]
|
|
private static bool AKBAECKBHCJ(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FCF RID: 167887 RVA: 0x00B6E8F8 File Offset: 0x00B6CAF8
|
|
private void KMBALOGOPOB()
|
|
{
|
|
if (GUILayout.Button("GoogleAnalytics is destroyed, skipping the request and caching it for later send : ", new GUILayoutOption[1]))
|
|
{
|
|
this.AHDHBFPKBID();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FD0 RID: 167888 RVA: 0x00B6E918 File Offset: 0x00B6CB18
|
|
private static pb_Edge GPONNJCELAD(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028FD1 RID: 167889 RVA: 0x00B6E928 File Offset: 0x00B6CB28
|
|
private static pb_Edge CJPCJNMONBG(pb_WingedEdge CCOAIHDIKAN)
|
|
{
|
|
return CCOAIHDIKAN.edge.local;
|
|
}
|
|
|
|
// Token: 0x06028FD2 RID: 167890 RVA: 0x00B6E938 File Offset: 0x00B6CB38
|
|
private void KGKOIMCLAJJ()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1804f, 1521f, 1, 1, Axis.Left, true);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028FD3 RID: 167891 RVA: 0x00B6E98C File Offset: 0x00B6CB8C
|
|
private static bool GHOBOINNEGA(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.opposite == null;
|
|
}
|
|
|
|
// Token: 0x06028FD4 RID: 167892 RVA: 0x00B6E998 File Offset: 0x00B6CB98
|
|
private void FKGEAFLKGAA()
|
|
{
|
|
if (GUILayout.Button("Memory was not allocated for the encoder", new GUILayoutOption[0]))
|
|
{
|
|
this.FCIOKKGCEPK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FD5 RID: 167893 RVA: 0x00B6E9B8 File Offset: 0x00B6CBB8
|
|
private void NMMHPGCCOBE()
|
|
{
|
|
if (GUILayout.Button("CircularBuffer enumerator is not enumerating.", new GUILayoutOption[1]))
|
|
{
|
|
this.OBDBCPMLCMI();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06028FD6 RID: 167894 RVA: 0x00B6E9D8 File Offset: 0x00B6CBD8
|
|
private void NHJJGNBMPAM()
|
|
{
|
|
ExtrudeRandomEdges.HCIONJDFEMH hcionjdfemh = new ExtrudeRandomEdges.HCIONJDFEMH();
|
|
hcionjdfemh.LGLLICEMHIK = this;
|
|
hcionjdfemh.HODAOBJJPIJ = this.PPGPBDBCIAC;
|
|
List<pb_WingedEdge> wingedEdges = pb_WingedEdge.GetWingedEdges(this.JENPMJBNAGI, true);
|
|
IEnumerable<pb_WingedEdge> enumerable = wingedEdges.Where(new Func<pb_WingedEdge, bool>(hcionjdfemh.OBEELMGMFCN));
|
|
IEnumerable<pb_WingedEdge> enumerable2 = enumerable;
|
|
if (ExtrudeRandomEdges.DINNJGHCFHI == null)
|
|
{
|
|
ExtrudeRandomEdges.DINNJGHCFHI = new Func<pb_WingedEdge, bool>(ExtrudeRandomEdges.NPBACPIONHC);
|
|
}
|
|
IEnumerable<pb_WingedEdge> enumerable3 = enumerable2.Where(ExtrudeRandomEdges.DINNJGHCFHI);
|
|
if (ExtrudeRandomEdges.GILODIKMIAJ == null)
|
|
{
|
|
ExtrudeRandomEdges.GILODIKMIAJ = new Func<pb_WingedEdge, pb_Edge>(ExtrudeRandomEdges.IELCMAFCAJF);
|
|
}
|
|
List<pb_Edge> list = enumerable3.Select(ExtrudeRandomEdges.GILODIKMIAJ).ToList<pb_Edge>();
|
|
int num = global::UnityEngine.Random.Range(1, list.Count);
|
|
pb_Edge pb_Edge = list[num];
|
|
Vector3 vector = (this.JENPMJBNAGI.vertices[pb_Edge.x] + this.JENPMJBNAGI.vertices[pb_Edge.y]) * 1672f - hcionjdfemh.HODAOBJJPIJ.distinctIndices.Average(new Func<int, Vector3>(hcionjdfemh.OOELOEOEJAM), null);
|
|
vector.Normalize();
|
|
pb_Object jenpmjbnagi = this.JENPMJBNAGI;
|
|
pb_Edge[] array = new pb_Edge[0];
|
|
array[1] = pb_Edge;
|
|
pb_Edge[] array2;
|
|
jenpmjbnagi.Extrude(array, 1285f, true, false, out array2);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces.Last<pb_Face>();
|
|
this.JENPMJBNAGI.SetSelectedEdges(array2);
|
|
this.JENPMJBNAGI.TranslateVertices(this.JENPMJBNAGI.SelectedTriangles, vector * this.distance);
|
|
this.JENPMJBNAGI.ToMesh();
|
|
this.JENPMJBNAGI.Refresh((RefreshMask)(-56));
|
|
}
|
|
|
|
// Token: 0x06028FD7 RID: 167895 RVA: 0x00B6EB74 File Offset: 0x00B6CD74
|
|
private void PJIPGBLHFNL()
|
|
{
|
|
this.JENPMJBNAGI = pb_ShapeGenerator.PlaneGenerator(1937f, 447f, 0, 0, (Axis)6, false);
|
|
this.JENPMJBNAGI.SetFaceMaterial(this.JENPMJBNAGI.faces, pb_Constant.DefaultMaterial);
|
|
this.PPGPBDBCIAC = this.JENPMJBNAGI.faces[1];
|
|
}
|
|
|
|
// Token: 0x06028FD8 RID: 167896 RVA: 0x00B6EBC8 File Offset: 0x00B6CDC8
|
|
private void OPLKFENPIFM()
|
|
{
|
|
if (GUILayout.Button("TransQueen", new GUILayoutOption[0]))
|
|
{
|
|
this.FCIOKKGCEPK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400657D RID: 25981
|
|
private pb_Object JENPMJBNAGI;
|
|
|
|
// Token: 0x0400657E RID: 25982
|
|
private pb_Face PPGPBDBCIAC;
|
|
|
|
// Token: 0x0400657F RID: 25983
|
|
public float distance = 1f;
|
|
|
|
// Token: 0x04006580 RID: 25984
|
|
[CompilerGenerated]
|
|
private static Func<pb_WingedEdge, bool> DINNJGHCFHI;
|
|
|
|
// Token: 0x04006581 RID: 25985
|
|
[CompilerGenerated]
|
|
private static Func<pb_WingedEdge, pb_Edge> GILODIKMIAJ;
|
|
|
|
// Token: 0x0200127D RID: 4733
|
|
[CompilerGenerated]
|
|
private sealed class HCIONJDFEMH
|
|
{
|
|
// Token: 0x06028FD9 RID: 167897 RVA: 0x00B6EBE8 File Offset: 0x00B6CDE8
|
|
internal bool NFHFAELMGBE(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FDA RID: 167898 RVA: 0x00B6EBF8 File Offset: 0x00B6CDF8
|
|
internal Vector3 BIENJIIJKPF(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FDB RID: 167899 RVA: 0x00B6EC18 File Offset: 0x00B6CE18
|
|
internal bool OGAJFHEKIED(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FDC RID: 167900 RVA: 0x00B6EC28 File Offset: 0x00B6CE28
|
|
internal Vector3 IILNOHOPHPG(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FDD RID: 167901 RVA: 0x00B6EC48 File Offset: 0x00B6CE48
|
|
internal Vector3 NCJCLHBFGJF(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FDE RID: 167902 RVA: 0x00B6EC68 File Offset: 0x00B6CE68
|
|
internal bool DPNFJMCMNGC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FDF RID: 167903 RVA: 0x00B6EC78 File Offset: 0x00B6CE78
|
|
internal bool FCPOAPOOJJO(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FE1 RID: 167905 RVA: 0x00B6EC90 File Offset: 0x00B6CE90
|
|
internal Vector3 OOELOEOEJAM(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FE2 RID: 167906 RVA: 0x00B6ECB0 File Offset: 0x00B6CEB0
|
|
internal bool IHANHBGOCBH(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FE3 RID: 167907 RVA: 0x00B6ECC0 File Offset: 0x00B6CEC0
|
|
internal bool CBMLMMGMAMI(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FE4 RID: 167908 RVA: 0x00B6ECD0 File Offset: 0x00B6CED0
|
|
internal bool CNBODKBDHKF(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FE5 RID: 167909 RVA: 0x00B6ECE0 File Offset: 0x00B6CEE0
|
|
internal Vector3 FPDHCADFJEL(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FE6 RID: 167910 RVA: 0x00B6ED00 File Offset: 0x00B6CF00
|
|
internal bool PGGNPPHMGMF(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FE7 RID: 167911 RVA: 0x00B6ED10 File Offset: 0x00B6CF10
|
|
internal bool MPMODOIAAGE(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FE8 RID: 167912 RVA: 0x00B6ED20 File Offset: 0x00B6CF20
|
|
internal Vector3 OMPCKNHFFGM(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FE9 RID: 167913 RVA: 0x00B6ED40 File Offset: 0x00B6CF40
|
|
internal bool KCFPLKGPAGM(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FEA RID: 167914 RVA: 0x00B6ED50 File Offset: 0x00B6CF50
|
|
internal Vector3 FFAFJGJMGIB(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FEB RID: 167915 RVA: 0x00B6ED70 File Offset: 0x00B6CF70
|
|
internal Vector3 FFKBFPCGKGO(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FEC RID: 167916 RVA: 0x00B6ED90 File Offset: 0x00B6CF90
|
|
internal bool DEJCJJIKHJL(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FED RID: 167917 RVA: 0x00B6EDA0 File Offset: 0x00B6CFA0
|
|
internal Vector3 IFCCLCKEJKP(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FEE RID: 167918 RVA: 0x00B6EDC0 File Offset: 0x00B6CFC0
|
|
internal Vector3 ELALBEOHJLD(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FEF RID: 167919 RVA: 0x00B6EDE0 File Offset: 0x00B6CFE0
|
|
internal Vector3 JDPCDJMOFHL(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FF0 RID: 167920 RVA: 0x00B6EE00 File Offset: 0x00B6D000
|
|
internal Vector3 IPGHGAOEKOF(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FF1 RID: 167921 RVA: 0x00B6EE20 File Offset: 0x00B6D020
|
|
internal Vector3 PNMBBKILIMJ(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FF2 RID: 167922 RVA: 0x00B6EE40 File Offset: 0x00B6D040
|
|
internal bool PBGJBBFEHFI(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FF3 RID: 167923 RVA: 0x00B6EE50 File Offset: 0x00B6D050
|
|
internal Vector3 JAFGLCBFOHM(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FF4 RID: 167924 RVA: 0x00B6EE70 File Offset: 0x00B6D070
|
|
internal Vector3 EKMAJFHBJGC(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FF5 RID: 167925 RVA: 0x00B6EE90 File Offset: 0x00B6D090
|
|
internal bool FOJNCCOFEKE(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FF6 RID: 167926 RVA: 0x00B6EEA0 File Offset: 0x00B6D0A0
|
|
internal bool CMJAJDPCFJA(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FF7 RID: 167927 RVA: 0x00B6EEB0 File Offset: 0x00B6D0B0
|
|
internal Vector3 FLFNCCOAPLK(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FF8 RID: 167928 RVA: 0x00B6EED0 File Offset: 0x00B6D0D0
|
|
internal Vector3 JHGJBIKACFC(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FF9 RID: 167929 RVA: 0x00B6EEF0 File Offset: 0x00B6D0F0
|
|
internal bool ECNMLHPCNHF(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FFA RID: 167930 RVA: 0x00B6EF00 File Offset: 0x00B6D100
|
|
internal bool CHPMHNFNCDD(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FFB RID: 167931 RVA: 0x00B6EF10 File Offset: 0x00B6D110
|
|
internal Vector3 CMCOAPKDJCD(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FFC RID: 167932 RVA: 0x00B6EF30 File Offset: 0x00B6D130
|
|
internal Vector3 NEFEFOBKGGP(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FFD RID: 167933 RVA: 0x00B6EF50 File Offset: 0x00B6D150
|
|
internal Vector3 GFDJDIFPJAA(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06028FFE RID: 167934 RVA: 0x00B6EF70 File Offset: 0x00B6D170
|
|
internal bool KLMKCPAELKO(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06028FFF RID: 167935 RVA: 0x00B6EF80 File Offset: 0x00B6D180
|
|
internal bool NPODACBLMGF(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029000 RID: 167936 RVA: 0x00B6EF90 File Offset: 0x00B6D190
|
|
internal Vector3 PDBFDNLMHNP(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06029001 RID: 167937 RVA: 0x00B6EFB0 File Offset: 0x00B6D1B0
|
|
internal Vector3 BHJAAFAJKMH(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06029002 RID: 167938 RVA: 0x00B6EFD0 File Offset: 0x00B6D1D0
|
|
internal Vector3 LLADDLLIPPJ(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06029003 RID: 167939 RVA: 0x00B6EFF0 File Offset: 0x00B6D1F0
|
|
internal bool BGEAIOGNJHN(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029004 RID: 167940 RVA: 0x00B6F000 File Offset: 0x00B6D200
|
|
internal bool CHPIPMCMKFE(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029005 RID: 167941 RVA: 0x00B6F010 File Offset: 0x00B6D210
|
|
internal Vector3 MJPEKLPCDDD(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06029006 RID: 167942 RVA: 0x00B6F030 File Offset: 0x00B6D230
|
|
internal Vector3 PEBMOONMOBK(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06029007 RID: 167943 RVA: 0x00B6F050 File Offset: 0x00B6D250
|
|
internal bool DOBDAENFDAJ(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029008 RID: 167944 RVA: 0x00B6F060 File Offset: 0x00B6D260
|
|
internal bool JJIIMDCJECL(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029009 RID: 167945 RVA: 0x00B6F070 File Offset: 0x00B6D270
|
|
internal Vector3 NAGBAMDKDAB(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x0602900A RID: 167946 RVA: 0x00B6F090 File Offset: 0x00B6D290
|
|
internal bool OBEELMGMFCN(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x0602900B RID: 167947 RVA: 0x00B6F0A0 File Offset: 0x00B6D2A0
|
|
internal bool OJKNBNGGBEC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x0602900C RID: 167948 RVA: 0x00B6F0B0 File Offset: 0x00B6D2B0
|
|
internal Vector3 OHKNDIMBHJE(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x0602900D RID: 167949 RVA: 0x00B6F0D0 File Offset: 0x00B6D2D0
|
|
internal bool JBFOKOJEMEC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x0602900E RID: 167950 RVA: 0x00B6F0E0 File Offset: 0x00B6D2E0
|
|
internal bool CJKKEJANJOK(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x0602900F RID: 167951 RVA: 0x00B6F0F0 File Offset: 0x00B6D2F0
|
|
internal Vector3 ABKMDMDBHFE(int ILFEPFCLLFJ)
|
|
{
|
|
return this.LGLLICEMHIK.JENPMJBNAGI.vertices[ILFEPFCLLFJ];
|
|
}
|
|
|
|
// Token: 0x06029010 RID: 167952 RVA: 0x00B6F110 File Offset: 0x00B6D310
|
|
internal bool IBLIPIGAMEL(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029011 RID: 167953 RVA: 0x00B6F120 File Offset: 0x00B6D320
|
|
internal bool GGGFLBOFLEC(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029012 RID: 167954 RVA: 0x00B6F130 File Offset: 0x00B6D330
|
|
internal bool NKONOOELLHD(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x06029013 RID: 167955 RVA: 0x00B6F140 File Offset: 0x00B6D340
|
|
internal bool KKJLKAONIOD(pb_WingedEdge ILFEPFCLLFJ)
|
|
{
|
|
return ILFEPFCLLFJ.face == this.HODAOBJJPIJ;
|
|
}
|
|
|
|
// Token: 0x04006582 RID: 25986
|
|
internal pb_Face HODAOBJJPIJ;
|
|
|
|
// Token: 0x04006583 RID: 25987
|
|
internal ExtrudeRandomEdges LGLLICEMHIK;
|
|
}
|
|
}
|