scripts
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace RecRoom.VFX
|
||||
{
|
||||
// Token: 0x0200119E RID: 4510
|
||||
public enum EPDJHOCOFIG
|
||||
{
|
||||
// Token: 0x04006124 RID: 24868
|
||||
OriginalTexture,
|
||||
// Token: 0x04006125 RID: 24869
|
||||
AtlasTexture
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,770 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.VFX
|
||||
{
|
||||
// Token: 0x020001B4 RID: 436
|
||||
public class FreezeParticles : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600569C RID: 22172 RVA: 0x001A56F4 File Offset: 0x001A38F4
|
||||
private void DOMHFCPJPPH()
|
||||
{
|
||||
this.FMNPJAKPBEA(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x0600569D RID: 22173 RVA: 0x001A5704 File Offset: 0x001A3904
|
||||
private void IBGMECCOGML()
|
||||
{
|
||||
this.FBBPIHOLGHM();
|
||||
}
|
||||
|
||||
// Token: 0x0600569E RID: 22174 RVA: 0x001A570C File Offset: 0x001A390C
|
||||
private void IOKIFHGPMKI()
|
||||
{
|
||||
this.NNHMLICLAAG();
|
||||
}
|
||||
|
||||
// Token: 0x0600569F RID: 22175 RVA: 0x001A5714 File Offset: 0x001A3914
|
||||
private void MEDGPHFHIOA(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056A0 RID: 22176 RVA: 0x001A574C File Offset: 0x001A394C
|
||||
private void MOAAJAOGKEO()
|
||||
{
|
||||
this.MMBGMGILKGN(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056A1 RID: 22177 RVA: 0x001A575C File Offset: 0x001A395C
|
||||
private void KDKEPLFPPOA(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056A2 RID: 22178 RVA: 0x001A5794 File Offset: 0x001A3994
|
||||
private void FPHLFCEOKBL()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056A3 RID: 22179 RVA: 0x001A57A4 File Offset: 0x001A39A4
|
||||
private void KJBPHNKFCAM()
|
||||
{
|
||||
this.FDLEPNAFNLN();
|
||||
}
|
||||
|
||||
// Token: 0x060056A4 RID: 22180 RVA: 0x001A57AC File Offset: 0x001A39AC
|
||||
private void IDFGKJHJBLA()
|
||||
{
|
||||
this.NNHMLICLAAG();
|
||||
}
|
||||
|
||||
// Token: 0x060056A5 RID: 22181 RVA: 0x001A57B4 File Offset: 0x001A39B4
|
||||
private void OBFPOOPMGAN()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.FDLEPNAFNLN();
|
||||
}
|
||||
this.BNELCLEEPGP(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056A6 RID: 22182 RVA: 0x001A57D4 File Offset: 0x001A39D4
|
||||
private void PBPGLFFLIPH()
|
||||
{
|
||||
this.FPHLFCEOKBL();
|
||||
}
|
||||
|
||||
// Token: 0x060056A7 RID: 22183 RVA: 0x001A57DC File Offset: 0x001A39DC
|
||||
private void GCOFOGPIJJA()
|
||||
{
|
||||
this.FFPCJJMIBLH();
|
||||
}
|
||||
|
||||
// Token: 0x060056A8 RID: 22184 RVA: 0x001A57E4 File Offset: 0x001A39E4
|
||||
private void FFPCJJMIBLH()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056A9 RID: 22185 RVA: 0x001A57F4 File Offset: 0x001A39F4
|
||||
private void DAAEGHEFHBL()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.FFPCJJMIBLH();
|
||||
}
|
||||
this.EFLEOKEEGEJ(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056AA RID: 22186 RVA: 0x001A5814 File Offset: 0x001A3A14
|
||||
private void NGOPCBJCNJM()
|
||||
{
|
||||
this.HBJGOODCDAA();
|
||||
}
|
||||
|
||||
// Token: 0x060056AB RID: 22187 RVA: 0x001A581C File Offset: 0x001A3A1C
|
||||
private void MLHKGIFJOLO()
|
||||
{
|
||||
this.PIGABFONDGB(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056AC RID: 22188 RVA: 0x001A582C File Offset: 0x001A3A2C
|
||||
private void FMNPJAKPBEA(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056AD RID: 22189 RVA: 0x001A5864 File Offset: 0x001A3A64
|
||||
private void PFBFOGJOOGP()
|
||||
{
|
||||
this.LAGPGDIFFMP();
|
||||
}
|
||||
|
||||
// Token: 0x060056AE RID: 22190 RVA: 0x001A586C File Offset: 0x001A3A6C
|
||||
private void HLABJIPMFIK(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, true, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056AF RID: 22191 RVA: 0x001A58A4 File Offset: 0x001A3AA4
|
||||
private void BDDGPPFNMGP()
|
||||
{
|
||||
this.PHBIANNLCPM(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056B0 RID: 22192 RVA: 0x001A58B4 File Offset: 0x001A3AB4
|
||||
private void DGLCKOFAOKO(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, true, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056B1 RID: 22193 RVA: 0x001A58EC File Offset: 0x001A3AEC
|
||||
private void EGILIBKDEEP()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.FFPCJJMIBLH();
|
||||
}
|
||||
this.BNELCLEEPGP(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056B2 RID: 22194 RVA: 0x001A590C File Offset: 0x001A3B0C
|
||||
private void IPJBOJOBBOF()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.LAGPGDIFFMP();
|
||||
}
|
||||
this.PHBIANNLCPM(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056B3 RID: 22195 RVA: 0x001A592C File Offset: 0x001A3B2C
|
||||
private void BOFMPPGNKAI()
|
||||
{
|
||||
this.FDLEPNAFNLN();
|
||||
}
|
||||
|
||||
// Token: 0x060056B4 RID: 22196 RVA: 0x001A5934 File Offset: 0x001A3B34
|
||||
private void AAGPHCCABMD(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056B5 RID: 22197 RVA: 0x001A596C File Offset: 0x001A3B6C
|
||||
private void NNGJJEFICHH(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056B6 RID: 22198 RVA: 0x001A59A4 File Offset: 0x001A3BA4
|
||||
private void NHAOAEBNLJI()
|
||||
{
|
||||
this.FBHMPEDMJPI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056B7 RID: 22199 RVA: 0x001A59B4 File Offset: 0x001A3BB4
|
||||
private void MBFEEJBCOED()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.AJBACGFICOO();
|
||||
}
|
||||
this.BNELCLEEPGP(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056B8 RID: 22200 RVA: 0x001A59D4 File Offset: 0x001A3BD4
|
||||
private void EDIAAKIDBOE()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056B9 RID: 22201 RVA: 0x001A59E4 File Offset: 0x001A3BE4
|
||||
private void MICFHMAIGIB()
|
||||
{
|
||||
this.ENOCJKENBPB();
|
||||
}
|
||||
|
||||
// Token: 0x060056BA RID: 22202 RVA: 0x001A59EC File Offset: 0x001A3BEC
|
||||
private void MPEHMAGNNGD(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056BB RID: 22203 RVA: 0x001A5A24 File Offset: 0x001A3C24
|
||||
private void EFLEOKEEGEJ(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056BC RID: 22204 RVA: 0x001A5A5C File Offset: 0x001A3C5C
|
||||
private void POMCHIPOPEA()
|
||||
{
|
||||
this.FDLEPNAFNLN();
|
||||
}
|
||||
|
||||
// Token: 0x060056BD RID: 22205 RVA: 0x001A5A64 File Offset: 0x001A3C64
|
||||
private void Start()
|
||||
{
|
||||
this.FBHMPEDMJPI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056BE RID: 22206 RVA: 0x001A5A74 File Offset: 0x001A3C74
|
||||
private void NGHJFABFAOA()
|
||||
{
|
||||
this.FBBPIHOLGHM();
|
||||
}
|
||||
|
||||
// Token: 0x060056BF RID: 22207 RVA: 0x001A5A7C File Offset: 0x001A3C7C
|
||||
private void DHDEJKAAOMD()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056C0 RID: 22208 RVA: 0x001A5A8C File Offset: 0x001A3C8C
|
||||
private void AJBACGFICOO()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056C1 RID: 22209 RVA: 0x001A5A9C File Offset: 0x001A3C9C
|
||||
private void KMEHAACNJAG()
|
||||
{
|
||||
this.EBDPCPEFKAA();
|
||||
}
|
||||
|
||||
// Token: 0x060056C2 RID: 22210 RVA: 0x001A5AA4 File Offset: 0x001A3CA4
|
||||
private void NHLJJOPDMIN()
|
||||
{
|
||||
this.EBDPCPEFKAA();
|
||||
}
|
||||
|
||||
// Token: 0x060056C3 RID: 22211 RVA: 0x001A5AAC File Offset: 0x001A3CAC
|
||||
private void HDCAMLJLKHC()
|
||||
{
|
||||
this.MPEHMAGNNGD(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056C4 RID: 22212 RVA: 0x001A5ABC File Offset: 0x001A3CBC
|
||||
private void FBHMPEDMJPI(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, true, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056C5 RID: 22213 RVA: 0x001A5AF4 File Offset: 0x001A3CF4
|
||||
private void LAGPGDIFFMP()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056C6 RID: 22214 RVA: 0x001A5B04 File Offset: 0x001A3D04
|
||||
private void FAJGMJFGMHP()
|
||||
{
|
||||
this.PHBIANNLCPM(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056C7 RID: 22215 RVA: 0x001A5B14 File Offset: 0x001A3D14
|
||||
private void BCOMLMMIBGI(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056C8 RID: 22216 RVA: 0x001A5B4C File Offset: 0x001A3D4C
|
||||
private void OnDrawGizmosSelected()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.LBDAEHBDHCP();
|
||||
}
|
||||
this.FBHMPEDMJPI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056C9 RID: 22217 RVA: 0x001A5B6C File Offset: 0x001A3D6C
|
||||
private void BPFFGNIFKGK(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056CA RID: 22218 RVA: 0x001A5BA4 File Offset: 0x001A3DA4
|
||||
private void PGCCPOOKOJC()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.DHDEJKAAOMD();
|
||||
}
|
||||
this.FMNPJAKPBEA(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056CB RID: 22219 RVA: 0x001A5BC4 File Offset: 0x001A3DC4
|
||||
private void PHBIANNLCPM(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056CC RID: 22220 RVA: 0x001A5BFC File Offset: 0x001A3DFC
|
||||
private void MNJGKKKMHIE()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.HBJGOODCDAA();
|
||||
}
|
||||
this.MPEHMAGNNGD(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056CD RID: 22221 RVA: 0x001A5C1C File Offset: 0x001A3E1C
|
||||
private void CJIOLJNPPOM()
|
||||
{
|
||||
this.FOMPBOJMBAP();
|
||||
}
|
||||
|
||||
// Token: 0x060056CE RID: 22222 RVA: 0x001A5C24 File Offset: 0x001A3E24
|
||||
private void FGBJJONEBDC()
|
||||
{
|
||||
this.JECCKFNDEGK(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056CF RID: 22223 RVA: 0x001A5C34 File Offset: 0x001A3E34
|
||||
private void IGHIOJLENPC()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.LAGPGDIFFMP();
|
||||
}
|
||||
this.JECCKFNDEGK(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056D0 RID: 22224 RVA: 0x001A5C54 File Offset: 0x001A3E54
|
||||
private void GPEPMADPIPF(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056D1 RID: 22225 RVA: 0x001A5C8C File Offset: 0x001A3E8C
|
||||
private void NNHMLICLAAG()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056D2 RID: 22226 RVA: 0x001A5C9C File Offset: 0x001A3E9C
|
||||
private void KCMHNMPNGCI()
|
||||
{
|
||||
this.MBGFPFLJEFN(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056D3 RID: 22227 RVA: 0x001A5CAC File Offset: 0x001A3EAC
|
||||
private void CLIDDMFINJJ()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.LAGPGDIFFMP();
|
||||
}
|
||||
this.BPFFGNIFKGK(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056D4 RID: 22228 RVA: 0x001A5CCC File Offset: 0x001A3ECC
|
||||
private void HBJGOODCDAA()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056D5 RID: 22229 RVA: 0x001A5CDC File Offset: 0x001A3EDC
|
||||
private void EBMACIPLEOE()
|
||||
{
|
||||
this.IAILAKLCPGJ(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056D6 RID: 22230 RVA: 0x001A5CEC File Offset: 0x001A3EEC
|
||||
private void AMNNBMEMJGB()
|
||||
{
|
||||
this.KGMHILLADOE();
|
||||
}
|
||||
|
||||
// Token: 0x060056D7 RID: 22231 RVA: 0x001A5CF4 File Offset: 0x001A3EF4
|
||||
private void EMNKKLLPJHC()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.EDIAAKIDBOE();
|
||||
}
|
||||
this.MBGFPFLJEFN(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056D9 RID: 22233 RVA: 0x001A5D1C File Offset: 0x001A3F1C
|
||||
private void MMBGMGILKGN(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, true, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056DA RID: 22234 RVA: 0x001A5D54 File Offset: 0x001A3F54
|
||||
private void IHNMLMNMCAC()
|
||||
{
|
||||
this.PIGABFONDGB(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056DB RID: 22235 RVA: 0x001A5D64 File Offset: 0x001A3F64
|
||||
private void NNJANPKMBOL()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.LAGPGDIFFMP();
|
||||
}
|
||||
this.FMNPJAKPBEA(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056DC RID: 22236 RVA: 0x001A5D84 File Offset: 0x001A3F84
|
||||
private void KCBNFFPLBLJ()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.AJBACGFICOO();
|
||||
}
|
||||
this.PIGABFONDGB(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056DD RID: 22237 RVA: 0x001A5DA4 File Offset: 0x001A3FA4
|
||||
private void KGMHILLADOE()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056DE RID: 22238 RVA: 0x001A5DB4 File Offset: 0x001A3FB4
|
||||
private void FOMPBOJMBAP()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056DF RID: 22239 RVA: 0x001A5DC4 File Offset: 0x001A3FC4
|
||||
private void HKNEMMDJNPB(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 0; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056E0 RID: 22240 RVA: 0x001A5DFC File Offset: 0x001A3FFC
|
||||
private void JFKMCAIBKLF()
|
||||
{
|
||||
this.MBGFPFLJEFN(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056E1 RID: 22241 RVA: 0x001A5E0C File Offset: 0x001A400C
|
||||
private void FPMMBPEOBEE()
|
||||
{
|
||||
this.HBJGOODCDAA();
|
||||
}
|
||||
|
||||
// Token: 0x060056E2 RID: 22242 RVA: 0x001A5E14 File Offset: 0x001A4014
|
||||
private void KDAPFAFLHAF()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.FFPCJJMIBLH();
|
||||
}
|
||||
this.EFLEOKEEGEJ(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056E3 RID: 22243 RVA: 0x001A5E34 File Offset: 0x001A4034
|
||||
private void OOGEOILGCPC()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.AJBACGFICOO();
|
||||
}
|
||||
this.MBGFPFLJEFN(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056E4 RID: 22244 RVA: 0x001A5E54 File Offset: 0x001A4054
|
||||
private void MBGFPFLJEFN(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056E5 RID: 22245 RVA: 0x001A5E8C File Offset: 0x001A408C
|
||||
private void BNELCLEEPGP(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056E6 RID: 22246 RVA: 0x001A5EC4 File Offset: 0x001A40C4
|
||||
private void PIGABFONDGB(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056E7 RID: 22247 RVA: 0x001A5EFC File Offset: 0x001A40FC
|
||||
private void AMJEANBMHFF()
|
||||
{
|
||||
this.AOFANNDPOBI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056E8 RID: 22248 RVA: 0x001A5F0C File Offset: 0x001A410C
|
||||
private void JJHPPFMOEGM()
|
||||
{
|
||||
this.HLABJIPMFIK(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056E9 RID: 22249 RVA: 0x001A5F1C File Offset: 0x001A411C
|
||||
private void FDLEPNAFNLN()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056EA RID: 22250 RVA: 0x001A5F2C File Offset: 0x001A412C
|
||||
private void JJEHDEOKOBB()
|
||||
{
|
||||
this.FBHMPEDMJPI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056EB RID: 22251 RVA: 0x001A5F3C File Offset: 0x001A413C
|
||||
private void ADIOFMMMFNL()
|
||||
{
|
||||
this.NNHMLICLAAG();
|
||||
}
|
||||
|
||||
// Token: 0x060056EC RID: 22252 RVA: 0x001A5F44 File Offset: 0x001A4144
|
||||
private void LBDAEHBDHCP()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056ED RID: 22253 RVA: 0x001A5F54 File Offset: 0x001A4154
|
||||
private void EBDPCPEFKAA()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056EE RID: 22254 RVA: 0x001A5F64 File Offset: 0x001A4164
|
||||
private void KEDCLOOGLPL()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.NNHMLICLAAG();
|
||||
}
|
||||
this.AOFANNDPOBI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056EF RID: 22255 RVA: 0x001A5F84 File Offset: 0x001A4184
|
||||
private void FIDMEJHMGJI()
|
||||
{
|
||||
this.EBDPCPEFKAA();
|
||||
}
|
||||
|
||||
// Token: 0x060056F0 RID: 22256 RVA: 0x001A5F8C File Offset: 0x001A418C
|
||||
private void LNKPKHFACHE()
|
||||
{
|
||||
this.LAGPGDIFFMP();
|
||||
}
|
||||
|
||||
// Token: 0x060056F1 RID: 22257 RVA: 0x001A5F94 File Offset: 0x001A4194
|
||||
private void PPOOPAFCJCP()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.EBDPCPEFKAA();
|
||||
}
|
||||
this.KDKEPLFPPOA(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056F2 RID: 22258 RVA: 0x001A5FB4 File Offset: 0x001A41B4
|
||||
private void MMAMCHHFOOI()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.FDLEPNAFNLN();
|
||||
}
|
||||
this.DGLCKOFAOKO(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056F3 RID: 22259 RVA: 0x001A5FD4 File Offset: 0x001A41D4
|
||||
private void EMLMHAJMMFP()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.HBJGOODCDAA();
|
||||
}
|
||||
this.FBHMPEDMJPI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056F4 RID: 22260 RVA: 0x001A5FF4 File Offset: 0x001A41F4
|
||||
private void ENOCJKENBPB()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056F5 RID: 22261 RVA: 0x001A6004 File Offset: 0x001A4204
|
||||
private void JGEPDIBIJIE()
|
||||
{
|
||||
this.BPFFGNIFKGK(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056F6 RID: 22262 RVA: 0x001A6014 File Offset: 0x001A4214
|
||||
private void IAILAKLCPGJ(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i++)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056F7 RID: 22263 RVA: 0x001A604C File Offset: 0x001A424C
|
||||
private void AOFANNDPOBI(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, true, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056F8 RID: 22264 RVA: 0x001A6084 File Offset: 0x001A4284
|
||||
private void GICHADGFOJK()
|
||||
{
|
||||
this.EDIAAKIDBOE();
|
||||
}
|
||||
|
||||
// Token: 0x060056F9 RID: 22265 RVA: 0x001A608C File Offset: 0x001A428C
|
||||
private void HLCPGIMPIPN()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.FBBPIHOLGHM();
|
||||
}
|
||||
this.PHBIANNLCPM(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056FA RID: 22266 RVA: 0x001A60AC File Offset: 0x001A42AC
|
||||
private void FIJKBOOHFJM()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.KGMHILLADOE();
|
||||
}
|
||||
this.MMBGMGILKGN(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056FB RID: 22267 RVA: 0x001A60CC File Offset: 0x001A42CC
|
||||
private void EDBJFHPJKGD()
|
||||
{
|
||||
if (this.ALAGLGEPFCO == null)
|
||||
{
|
||||
this.KGMHILLADOE();
|
||||
}
|
||||
this.BCOMLMMIBGI(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x060056FC RID: 22268 RVA: 0x001A60EC File Offset: 0x001A42EC
|
||||
private void FBBPIHOLGHM()
|
||||
{
|
||||
this.ALAGLGEPFCO = base.GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// Token: 0x060056FD RID: 22269 RVA: 0x001A60FC File Offset: 0x001A42FC
|
||||
private void JECCKFNDEGK(float GKICDGMMPBH)
|
||||
{
|
||||
for (int i = 1; i < this.ALAGLGEPFCO.Length; i += 0)
|
||||
{
|
||||
this.ALAGLGEPFCO[i].Simulate(GKICDGMMPBH, false, true, false);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060056FE RID: 22270 RVA: 0x001A6134 File Offset: 0x001A4334
|
||||
private void DHKOHMJLFCA()
|
||||
{
|
||||
this.FDLEPNAFNLN();
|
||||
}
|
||||
|
||||
// Token: 0x060056FF RID: 22271 RVA: 0x001A613C File Offset: 0x001A433C
|
||||
private void LPOMDLJJBKF()
|
||||
{
|
||||
this.IAILAKLCPGJ(this.freezeTime);
|
||||
}
|
||||
|
||||
// Token: 0x06005700 RID: 22272 RVA: 0x001A614C File Offset: 0x001A434C
|
||||
private void Awake()
|
||||
{
|
||||
this.LBDAEHBDHCP();
|
||||
}
|
||||
|
||||
// Token: 0x04000AF9 RID: 2809
|
||||
[SerializeField]
|
||||
private float freezeTime;
|
||||
|
||||
// Token: 0x04000AFA RID: 2810
|
||||
private ParticleSystem[] ALAGLGEPFCO;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,1293 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.VFX
|
||||
{
|
||||
// Token: 0x0200119F RID: 4511
|
||||
[Serializable]
|
||||
public class JitteringSprite
|
||||
{
|
||||
// Token: 0x060267A4 RID: 157604 RVA: 0x00AADBF0 File Offset: 0x00AABDF0
|
||||
public void LCCEEGKCCEG(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1758f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1314f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1740f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("rw_dropped_frames_13to16p", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("MotionTeleport", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.KKDNHBIDDHP() == null)
|
||||
{
|
||||
this.IHMMHNKJPNL(new MaterialPropertyBlock());
|
||||
}
|
||||
this.KLILBODNLAB().SetTexture("y", this.sprite.texture);
|
||||
this.GCDHJBJKHIL().SetVector(" h=", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.PHCDNJGDMCG());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267A5 RID: 157605 RVA: 0x00AADF54 File Offset: 0x00AAC154
|
||||
public MaterialPropertyBlock IPNEFLFJOGE()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267A7 RID: 157607 RVA: 0x00AADF74 File Offset: 0x00AAC174
|
||||
public void FGHOJLLKPDA(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 369f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1560f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 470f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("Writing with decompression is not supported.", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("x", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.HFEPLPFHHEO() == null)
|
||||
{
|
||||
this.ICIKKBMCAOG(new MaterialPropertyBlock());
|
||||
}
|
||||
this.IPNEFLFJOGE().SetTexture("add", this.sprite.texture);
|
||||
this.ABFEAHAONPK().SetVector("to", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.CGBJBCJGLFE());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267A8 RID: 157608 RVA: 0x00AAE2D8 File Offset: 0x00AAC4D8
|
||||
public MaterialPropertyBlock LDKEKLHEFCG()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267A9 RID: 157609 RVA: 0x00AAE2E0 File Offset: 0x00AAC4E0
|
||||
public MaterialPropertyBlock GCDHJBJKHIL()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267AA RID: 157610 RVA: 0x00AAE2E8 File Offset: 0x00AAC4E8
|
||||
private void OKPGPLEJJHF(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267AB RID: 157611 RVA: 0x00AAE2F4 File Offset: 0x00AAC4F4
|
||||
public void MPEGOMLKHME(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1528f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 983f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1812f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("dBgCIAEoCBIpCgl0cmFuc2Zvcm0YCiABKAsyFi5yZWNyb29tLlRyYW5zZm9y", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("prev_activity", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.BMILFGCEDGG() == null)
|
||||
{
|
||||
this.ICIKKBMCAOG(new MaterialPropertyBlock());
|
||||
}
|
||||
this.FNAGDGGHKIH().SetTexture("spillway", this.sprite.texture);
|
||||
this.CHLJDAOHMPB().SetVector("The host has silenced everybody", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.MaterialProperties);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267AC RID: 157612 RVA: 0x00AAE658 File Offset: 0x00AAC858
|
||||
private void PFHKLEBLKAD(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267AD RID: 157613 RVA: 0x00AAE664 File Offset: 0x00AAC864
|
||||
private void GJBCFNGKLNN(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267AE RID: 157614 RVA: 0x00AAE670 File Offset: 0x00AAC870
|
||||
public void AIEDLONJHDG(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1029f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1432f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1529f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("Adding player twice: ", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("Ask Bilal if you are confused.", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.PHCDNJGDMCG() == null)
|
||||
{
|
||||
this.LDKEMGHKKJE(new MaterialPropertyBlock());
|
||||
}
|
||||
this.CGBJBCJGLFE().SetTexture(" d=", this.sprite.texture);
|
||||
this.KKNFLMBKFBM().SetVector("!", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.KNCGCNEPAJI());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267AF RID: 157615 RVA: 0x00AAE9D4 File Offset: 0x00AACBD4
|
||||
public MaterialPropertyBlock HFEPLPFHHEO()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267B0 RID: 157616 RVA: 0x00AAE9DC File Offset: 0x00AACBDC
|
||||
public void LHIFNCGDFIK(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 53f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1166f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 301f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("RpcStartChargingBolt", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("path", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ABFEAHAONPK() == null)
|
||||
{
|
||||
this.PFHKLEBLKAD(new MaterialPropertyBlock());
|
||||
}
|
||||
this.KNCGCNEPAJI().SetTexture("sentToPlayerId", this.sprite.texture);
|
||||
this.NFIOFJGICBK().SetVector("isHost", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.MaterialProperties);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267B1 RID: 157617 RVA: 0x00AAED40 File Offset: 0x00AACF40
|
||||
public void CHILNPEAOFG(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1471f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1746f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 810f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("Editor only.", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("Failed To Join Your Game", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.KKDNHBIDDHP() == null)
|
||||
{
|
||||
this.EONHNLAHCGK(new MaterialPropertyBlock());
|
||||
}
|
||||
this.IPNEFLFJOGE().SetTexture("Sileviel", this.sprite.texture);
|
||||
this.FHABOEBBOPG().SetVector("PORTAL AND ELITE BOTS OFFLINE", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.JJCPFEICFDB());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267B2 RID: 157618 RVA: 0x00AAF0A4 File Offset: 0x00AAD2A4
|
||||
public void DLAADEMKBBK(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1450f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1835f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 764f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("method", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("price", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.KHGAIGFGDMO() == null)
|
||||
{
|
||||
this.HPEDACNBGGJ(new MaterialPropertyBlock());
|
||||
}
|
||||
this.KLILBODNLAB().SetTexture("graphicsShaderLevel", this.sprite.texture);
|
||||
this.KNCGCNEPAJI().SetVector("Úhaelion", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.FNAGDGGHKIH());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267B3 RID: 157619 RVA: 0x00AAF408 File Offset: 0x00AAD608
|
||||
private void EONHNLAHCGK(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267B4 RID: 157620 RVA: 0x00AAF414 File Offset: 0x00AAD614
|
||||
public void IAPABDPPBAA(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 653f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 485f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 8f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("shake", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("EMP ARMED!", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.PHCDNJGDMCG() == null)
|
||||
{
|
||||
this.MaterialProperties = new MaterialPropertyBlock();
|
||||
}
|
||||
this.MCDOGOCGKDK().SetTexture("GIFT_COUNT", this.sprite.texture);
|
||||
this.KNCGCNEPAJI().SetVector("ToolOutline_mat", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.KKNFLMBKFBM());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267B5 RID: 157621 RVA: 0x00AAF778 File Offset: 0x00AAD978
|
||||
public MaterialPropertyBlock MBLEDABEDHP()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267B6 RID: 157622 RVA: 0x00AAF780 File Offset: 0x00AAD980
|
||||
public MaterialPropertyBlock PHCDNJGDMCG()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267B7 RID: 157623 RVA: 0x00AAF788 File Offset: 0x00AAD988
|
||||
private void BFBBEKOIOHO(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267B8 RID: 157624 RVA: 0x00AAF794 File Offset: 0x00AAD994
|
||||
public MaterialPropertyBlock FDDOHLNBDJB()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267B9 RID: 157625 RVA: 0x00AAF79C File Offset: 0x00AAD99C
|
||||
private void IHMMHNKJPNL(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x1700118E RID: 4494
|
||||
// (get) Token: 0x060267BF RID: 157631 RVA: 0x00AAFB38 File Offset: 0x00AADD38
|
||||
// (set) Token: 0x060267BA RID: 157626 RVA: 0x00AAF7A8 File Offset: 0x00AAD9A8
|
||||
public MaterialPropertyBlock MaterialProperties { get; private set; }
|
||||
|
||||
// Token: 0x060267BB RID: 157627 RVA: 0x00AAF7B4 File Offset: 0x00AAD9B4
|
||||
public MaterialPropertyBlock ABFEAHAONPK()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267BC RID: 157628 RVA: 0x00AAF7BC File Offset: 0x00AAD9BC
|
||||
private void ICIKKBMCAOG(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267BD RID: 157629 RVA: 0x00AAF7C8 File Offset: 0x00AAD9C8
|
||||
private void HCEJDEBOBPA(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267BE RID: 157630 RVA: 0x00AAF7D4 File Offset: 0x00AAD9D4
|
||||
public void JCBFCDCJDCE(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 990f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1706f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 962f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("BLUE TEAM", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector(".", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.FDDOHLNBDJB() == null)
|
||||
{
|
||||
this.HCEJDEBOBPA(new MaterialPropertyBlock());
|
||||
}
|
||||
this.GCDHJBJKHIL().SetTexture("Duirronir", this.sprite.texture);
|
||||
this.ABFEAHAONPK().SetVector("IntegrationTest Run interrupted", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.HEKGPDEDMLK());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267C0 RID: 157632 RVA: 0x00AAFB40 File Offset: 0x00AADD40
|
||||
public void CHKNJOALAPG(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 637f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 656f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1507f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("DEFENSE SCORES", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("Touchpad", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.FDDOHLNBDJB() == null)
|
||||
{
|
||||
this.ICIKKBMCAOG(new MaterialPropertyBlock());
|
||||
}
|
||||
this.HEKGPDEDMLK().SetTexture("RoomId", this.sprite.texture);
|
||||
this.LDKEKLHEFCG().SetVector("CT", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.FDDOHLNBDJB());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267C1 RID: 157633 RVA: 0x00AAFEA4 File Offset: 0x00AAE0A4
|
||||
private void FIGFDNKPOKK(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267C2 RID: 157634 RVA: 0x00AAFEB0 File Offset: 0x00AAE0B0
|
||||
public MaterialPropertyBlock CGBJBCJGLFE()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267C3 RID: 157635 RVA: 0x00AAFEB8 File Offset: 0x00AAE0B8
|
||||
public MaterialPropertyBlock FNAGDGGHKIH()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267C4 RID: 157636 RVA: 0x00AAFEC0 File Offset: 0x00AAE0C0
|
||||
public void EJAJIGMFGEK(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1141f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 347f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1259f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("rotation", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("You Leveled Up!", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.KNCGCNEPAJI() == null)
|
||||
{
|
||||
this.BKFMDAGNGED(new MaterialPropertyBlock());
|
||||
}
|
||||
this.KNCGCNEPAJI().SetTexture("{0}v1/search", this.sprite.texture);
|
||||
this.CHLJDAOHMPB().SetVector("rotate", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.HFEPLPFHHEO());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267C5 RID: 157637 RVA: 0x00AB0224 File Offset: 0x00AAE424
|
||||
public void CHNNPLLNFHP(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 819f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1503f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1938f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("B", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector(" ms", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ABFEAHAONPK() == null)
|
||||
{
|
||||
this.CCLBABIEIAI(new MaterialPropertyBlock());
|
||||
}
|
||||
this.LDKEKLHEFCG().SetTexture("System.Object", this.sprite.texture);
|
||||
this.FHABOEBBOPG().SetVector("api/activities/charades/v1/words", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.MaterialProperties);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267C6 RID: 157638 RVA: 0x00AB0588 File Offset: 0x00AAE788
|
||||
private void JAHIPFFGING(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267C7 RID: 157639 RVA: 0x00AB0594 File Offset: 0x00AAE794
|
||||
private void LIOPAEALBNG(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267C8 RID: 157640 RVA: 0x00AB05A0 File Offset: 0x00AAE7A0
|
||||
public MaterialPropertyBlock FHABOEBBOPG()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267C9 RID: 157641 RVA: 0x00AB05A8 File Offset: 0x00AAE7A8
|
||||
public void NENOLIPFLEE(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1658f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1654f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1191f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("SUMMER2013", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("api/settings/", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.JJCPFEICFDB() == null)
|
||||
{
|
||||
this.HPEDACNBGGJ(new MaterialPropertyBlock());
|
||||
}
|
||||
this.FDDOHLNBDJB().SetTexture("Eye Depth (m): {0:F3}", this.sprite.texture);
|
||||
this.KKDNHBIDDHP().SetVector("http://www.google-analytics.com/collect", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.CHLJDAOHMPB());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267CA RID: 157642 RVA: 0x00AB090C File Offset: 0x00AAEB0C
|
||||
public void JBCFBOJPDDP(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1409f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1470f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1458f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("CreatedAt", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("Recroom.OOBE", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.KKDNHBIDDHP() == null)
|
||||
{
|
||||
this.IHMMHNKJPNL(new MaterialPropertyBlock());
|
||||
}
|
||||
this.JJCPFEICFDB().SetTexture("Remote server closed the connection before sending response header!", this.sprite.texture);
|
||||
this.KKDNHBIDDHP().SetVector("_Color", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.OCBHEGJMJBE());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267CB RID: 157643 RVA: 0x00AB0C70 File Offset: 0x00AAEE70
|
||||
private void KAEHGOJAFOK(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267CC RID: 157644 RVA: 0x00AB0C7C File Offset: 0x00AAEE7C
|
||||
public MaterialPropertyBlock KKNFLMBKFBM()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267CD RID: 157645 RVA: 0x00AB0C84 File Offset: 0x00AAEE84
|
||||
public void OLAPAKDPICK(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1776f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 340f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 501f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("Refund", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector(" - ", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.KLILBODNLAB() == null)
|
||||
{
|
||||
this.HPEDACNBGGJ(new MaterialPropertyBlock());
|
||||
}
|
||||
this.KNCGCNEPAJI().SetTexture("Cost", this.sprite.texture);
|
||||
this.PHCDNJGDMCG().SetVector("Trigger", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.FHABOEBBOPG());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267CE RID: 157646 RVA: 0x00AB0FE8 File Offset: 0x00AAF1E8
|
||||
public void EKPAMBJJCEC(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1049f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 1943f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("Failed to get random name", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("[ACTk] Obscured Cheating Detector: has properly configured Detection Event in the inspector, but still get started with Action callback. Both Action and Detection Event will be called on detection. Are you sure you wish to do this?", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.BMILFGCEDGG() == null)
|
||||
{
|
||||
this.HCEJDEBOBPA(new MaterialPropertyBlock());
|
||||
}
|
||||
this.MCDOGOCGKDK().SetTexture("AuthenticationValues UserId: {0}, GetParameters: {1} Token available: {2}", this.sprite.texture);
|
||||
this.JJCPFEICFDB().SetVector("_TintColor", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.KLILBODNLAB());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267CF RID: 157647 RVA: 0x00AB134C File Offset: 0x00AAF54C
|
||||
public void AKAENFNHPEN(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1809f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 42f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 849f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("jointXform", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("#FF4040", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.HEKGPDEDMLK() == null)
|
||||
{
|
||||
this.HFCNONCDGEK(new MaterialPropertyBlock());
|
||||
}
|
||||
this.NFIOFJGICBK().SetTexture("easeType", this.sprite.texture);
|
||||
this.PHCDNJGDMCG().SetVector("No Inflate State!", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.HJHCMPKIOAA());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267D0 RID: 157648 RVA: 0x00AB16B0 File Offset: 0x00AAF8B0
|
||||
public MaterialPropertyBlock KKDNHBIDDHP()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267D1 RID: 157649 RVA: 0x00AB16B8 File Offset: 0x00AAF8B8
|
||||
private void ELDJOKKMAAO(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267D2 RID: 157650 RVA: 0x00AB16C4 File Offset: 0x00AAF8C4
|
||||
public MaterialPropertyBlock HEKGPDEDMLK()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267D3 RID: 157651 RVA: 0x00AB16CC File Offset: 0x00AAF8CC
|
||||
private void CCLBABIEIAI(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267D4 RID: 157652 RVA: 0x00AB16D8 File Offset: 0x00AAF8D8
|
||||
public void OKIHFAFILDB(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 191f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 380f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 195f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture(" (eye)", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("a", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CGBJBCJGLFE() == null)
|
||||
{
|
||||
this.MaterialProperties = new MaterialPropertyBlock();
|
||||
}
|
||||
this.OCBHEGJMJBE().SetTexture("Saving...", this.sprite.texture);
|
||||
this.IPNEFLFJOGE().SetVector("status == FINISH_STATE && _codec.AvailableBytesIn != 0", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.BMILFGCEDGG());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267D5 RID: 157653 RVA: 0x00AB1A3C File Offset: 0x00AAFC3C
|
||||
private void BKFMDAGNGED(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267D6 RID: 157654 RVA: 0x00AB1A48 File Offset: 0x00AAFC48
|
||||
public MaterialPropertyBlock KLILBODNLAB()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267D7 RID: 157655 RVA: 0x00AB1A50 File Offset: 0x00AAFC50
|
||||
public void KOKFKINOIHC(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1226f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 710f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 613f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("ObscuredShort vs short, ", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("Error: Room does not exist!", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.FDDOHLNBDJB() == null)
|
||||
{
|
||||
this.HCEJDEBOBPA(new MaterialPropertyBlock());
|
||||
}
|
||||
this.KKNFLMBKFBM().SetTexture("Can't close an array here", this.sprite.texture);
|
||||
this.KNCGCNEPAJI().SetVector("demoColor", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.LDKEKLHEFCG());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267D8 RID: 157656 RVA: 0x00AB1DB4 File Offset: 0x00AAFFB4
|
||||
public void IGKPJKMLPPI(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 467f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 58f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 848f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("Call ConnectToNameServer to ping available regions.", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("GraphicsDeviceVendor", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.ABFEAHAONPK() == null)
|
||||
{
|
||||
this.HFCNONCDGEK(new MaterialPropertyBlock());
|
||||
}
|
||||
this.KKDNHBIDDHP().SetTexture("Cant ask anyone else for PickupItem spawn times.", this.sprite.texture);
|
||||
this.PHCDNJGDMCG().SetVector("scale", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.NFIOFJGICBK());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267D9 RID: 157657 RVA: 0x00AB2118 File Offset: 0x00AB0318
|
||||
private void HPEDACNBGGJ(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267DA RID: 157658 RVA: 0x00AB2124 File Offset: 0x00AB0324
|
||||
public MaterialPropertyBlock MCDOGOCGKDK()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267DB RID: 157659 RVA: 0x00AB212C File Offset: 0x00AB032C
|
||||
public MaterialPropertyBlock LLANEFKMNAL()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267DC RID: 157660 RVA: 0x00AB2134 File Offset: 0x00AB0334
|
||||
public MaterialPropertyBlock CHLJDAOHMPB()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267DD RID: 157661 RVA: 0x00AB213C File Offset: 0x00AB033C
|
||||
private void MJNHHOKHENK(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267DE RID: 157662 RVA: 0x00AB2148 File Offset: 0x00AB0348
|
||||
public MaterialPropertyBlock OCBHEGJMJBE()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267DF RID: 157663 RVA: 0x00AB2150 File Offset: 0x00AB0350
|
||||
public MaterialPropertyBlock HJHCMPKIOAA()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267E0 RID: 157664 RVA: 0x00AB2158 File Offset: 0x00AB0358
|
||||
public void HCJJEPEDIBA(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1279f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 1876f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 914f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 1 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture(" is too long, max size ", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("ti", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.FNAGDGGHKIH() == null)
|
||||
{
|
||||
this.ELDJOKKMAAO(new MaterialPropertyBlock());
|
||||
}
|
||||
this.HEKGPDEDMLK().SetTexture("CheerGeneral", this.sprite.texture);
|
||||
this.KHGAIGFGDMO().SetVector("Serializing RCCarRemoteControl {0}: Controlled PhotonView {1} has no corresponding PersistenceView.", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.KHGAIGFGDMO());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267E1 RID: 157665 RVA: 0x00AB24BC File Offset: 0x00AB06BC
|
||||
public MaterialPropertyBlock BMILFGCEDGG()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267E2 RID: 157666 RVA: 0x00AB24C4 File Offset: 0x00AB06C4
|
||||
private void MMDNCFMFKFI(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267E3 RID: 157667 RVA: 0x00AB24D0 File Offset: 0x00AB06D0
|
||||
public MaterialPropertyBlock NFIOFJGICBK()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267E4 RID: 157668 RVA: 0x00AB24D8 File Offset: 0x00AB06D8
|
||||
public MaterialPropertyBlock KNCGCNEPAJI()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267E5 RID: 157669 RVA: 0x00AB24E0 File Offset: 0x00AB06E0
|
||||
public MaterialPropertyBlock JJCPFEICFDB()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267E6 RID: 157670 RVA: 0x00AB24E8 File Offset: 0x00AB06E8
|
||||
public void PCMBFOFJPHC(Sprite IAJBDLBFGHI = null)
|
||||
{
|
||||
if (IAJBDLBFGHI != null)
|
||||
{
|
||||
this.sprite = IAJBDLBFGHI;
|
||||
}
|
||||
float num = 1f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
}
|
||||
if (this.sprite != null && this.renderer != null)
|
||||
{
|
||||
Rect rect = ((this.offsetMode != EPDJHOCOFIG.OriginalTexture) ? this.sprite.textureRect : this.sprite.rect);
|
||||
Vector2 vector = new Vector2(rect.position.x / (float)this.sprite.texture.width, rect.position.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector2 = new Vector2(rect.size.x / (float)this.sprite.texture.width, rect.size.y / (float)this.sprite.texture.height);
|
||||
Vector2 vector3 = vector + vector2 / 2f;
|
||||
vector3 += new Vector2(vector2.x * this.jitterOffset.x, vector2.y * this.jitterOffset.y);
|
||||
vector2 += new Vector2(vector2.x * this.jitterScale.x, vector2.y * this.jitterScale.y);
|
||||
vector = vector3 - vector2 / 2f;
|
||||
if (this.applyToOnlyOneRendererMaterial && this.rendererMaterialIndex >= 0 && this.rendererMaterialIndex < this.renderer.materials.Length)
|
||||
{
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetTexture("_MainTex", this.sprite.texture);
|
||||
this.renderer.materials[this.rendererMaterialIndex].SetVector("_MainTex_ST", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.MaterialProperties == null)
|
||||
{
|
||||
this.MaterialProperties = new MaterialPropertyBlock();
|
||||
}
|
||||
this.MaterialProperties.SetTexture("_MainTex", this.sprite.texture);
|
||||
this.MaterialProperties.SetVector("_MainTex_ST", new Vector4(vector2.x, vector2.y, vector.x, vector.y));
|
||||
this.renderer.SetPropertyBlock(this.MaterialProperties);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267E7 RID: 157671 RVA: 0x00AB284C File Offset: 0x00AB0A4C
|
||||
private void LDKEMGHKKJE(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267E8 RID: 157672 RVA: 0x00AB2858 File Offset: 0x00AB0A58
|
||||
private void JMGIJBBKMDK(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x060267E9 RID: 157673 RVA: 0x00AB2864 File Offset: 0x00AB0A64
|
||||
public MaterialPropertyBlock KHGAIGFGDMO()
|
||||
{
|
||||
return this.<MaterialProperties>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x060267EA RID: 157674 RVA: 0x00AB286C File Offset: 0x00AB0A6C
|
||||
private void HFCNONCDGEK(MaterialPropertyBlock NOBAPCOKFIL)
|
||||
{
|
||||
this.<MaterialProperties>k__BackingField = NOBAPCOKFIL;
|
||||
}
|
||||
|
||||
// Token: 0x04006126 RID: 24870
|
||||
public Renderer renderer;
|
||||
|
||||
// Token: 0x04006127 RID: 24871
|
||||
public bool applyToOnlyOneRendererMaterial;
|
||||
|
||||
// Token: 0x04006128 RID: 24872
|
||||
public int rendererMaterialIndex = -1;
|
||||
|
||||
// Token: 0x04006129 RID: 24873
|
||||
public Sprite sprite;
|
||||
|
||||
// Token: 0x0400612A RID: 24874
|
||||
public int jitterFPS = 6;
|
||||
|
||||
// Token: 0x0400612B RID: 24875
|
||||
public Vector2 maxJitterOffset;
|
||||
|
||||
// Token: 0x0400612C RID: 24876
|
||||
public Vector2 maxJitterScale;
|
||||
|
||||
// Token: 0x0400612D RID: 24877
|
||||
[Tooltip("Whether to use original texture rect or atlas rect for offset and scale of jitter")]
|
||||
public EPDJHOCOFIG offsetMode;
|
||||
|
||||
// Token: 0x0400612E RID: 24878
|
||||
private float lastJitterTime;
|
||||
|
||||
// Token: 0x0400612F RID: 24879
|
||||
private Vector2 jitterOffset;
|
||||
|
||||
// Token: 0x04006130 RID: 24880
|
||||
private Vector3 jitterScale;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,232 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.VFX
|
||||
{
|
||||
// Token: 0x020011A0 RID: 4512
|
||||
[Serializable]
|
||||
public class JitteringTransform
|
||||
{
|
||||
// Token: 0x060267EB RID: 157675 RVA: 0x00AB2878 File Offset: 0x00AB0A78
|
||||
public void NPBMOBIKNHD()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267EC RID: 157676 RVA: 0x00AB28B4 File Offset: 0x00AB0AB4
|
||||
public void AGPCFAAOAIN()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267EE RID: 157678 RVA: 0x00AB2918 File Offset: 0x00AB0B18
|
||||
public void PKICAHHDEML()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267EF RID: 157679 RVA: 0x00AB2954 File Offset: 0x00AB0B54
|
||||
public void AMHNBHJAGCO()
|
||||
{
|
||||
if (!this.savedDefaultValues)
|
||||
{
|
||||
this.OFOCALCGIBD();
|
||||
}
|
||||
float num = 1f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
if (this.transform != null)
|
||||
{
|
||||
Vector3 vector = new Vector3(this.defaultLocalPosition.x + this.jitterOffset.x, this.defaultLocalPosition.y + this.jitterOffset.y, this.defaultLocalPosition.z);
|
||||
Vector3 vector2 = new Vector3(this.defaultLocalScale.x + this.jitterScale.x, this.defaultLocalScale.y + this.jitterScale.y, this.defaultLocalScale.z);
|
||||
this.transform.localScale = vector2;
|
||||
this.transform.localPosition = vector;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F0 RID: 157680 RVA: 0x00AB2AE4 File Offset: 0x00AB0CE4
|
||||
public void KEBFFJJIFED()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F1 RID: 157681 RVA: 0x00AB2B20 File Offset: 0x00AB0D20
|
||||
public void OFOCALCGIBD()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F2 RID: 157682 RVA: 0x00AB2B5C File Offset: 0x00AB0D5C
|
||||
public void OJHPKIKLDEL()
|
||||
{
|
||||
if (!this.savedDefaultValues)
|
||||
{
|
||||
this.LLPHGBGCFMH();
|
||||
}
|
||||
float num = 469f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
if (this.transform != null)
|
||||
{
|
||||
Vector3 vector = new Vector3(this.defaultLocalPosition.x + this.jitterOffset.x, this.defaultLocalPosition.y + this.jitterOffset.y, this.defaultLocalPosition.z);
|
||||
Vector3 vector2 = new Vector3(this.defaultLocalScale.x + this.jitterScale.x, this.defaultLocalScale.y + this.jitterScale.y, this.defaultLocalScale.z);
|
||||
this.transform.localScale = vector2;
|
||||
this.transform.localPosition = vector;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F3 RID: 157683 RVA: 0x00AB2CEC File Offset: 0x00AB0EEC
|
||||
public void DPIECEHAGOC()
|
||||
{
|
||||
if (!this.savedDefaultValues)
|
||||
{
|
||||
this.LLPHGBGCFMH();
|
||||
}
|
||||
float num = 1242f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
if (this.transform != null)
|
||||
{
|
||||
Vector3 vector = new Vector3(this.defaultLocalPosition.x + this.jitterOffset.x, this.defaultLocalPosition.y + this.jitterOffset.y, this.defaultLocalPosition.z);
|
||||
Vector3 vector2 = new Vector3(this.defaultLocalScale.x + this.jitterScale.x, this.defaultLocalScale.y + this.jitterScale.y, this.defaultLocalScale.z);
|
||||
this.transform.localScale = vector2;
|
||||
this.transform.localPosition = vector;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F4 RID: 157684 RVA: 0x00AB2E7C File Offset: 0x00AB107C
|
||||
public void HINLGGILPFH()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F5 RID: 157685 RVA: 0x00AB2EB8 File Offset: 0x00AB10B8
|
||||
public void DIJLNOAOFCM()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F6 RID: 157686 RVA: 0x00AB2EF4 File Offset: 0x00AB10F4
|
||||
public void BBFPJNKIDDH()
|
||||
{
|
||||
if (!this.savedDefaultValues)
|
||||
{
|
||||
this.DIJLNOAOFCM();
|
||||
}
|
||||
float num = 938f / (float)this.jitterFPS;
|
||||
float num2 = Time.time - this.lastJitterTime;
|
||||
if (num2 >= num)
|
||||
{
|
||||
this.lastJitterTime = Time.time;
|
||||
this.jitterOffset.x = global::UnityEngine.Random.Range(-this.maxJitterOffset.x, this.maxJitterOffset.x);
|
||||
this.jitterOffset.y = global::UnityEngine.Random.Range(-this.maxJitterOffset.y, this.maxJitterOffset.y);
|
||||
this.jitterScale.x = global::UnityEngine.Random.Range(-this.maxJitterScale.x, this.maxJitterScale.x);
|
||||
this.jitterScale.y = global::UnityEngine.Random.Range(-this.maxJitterScale.y, this.maxJitterScale.y);
|
||||
if (this.transform != null)
|
||||
{
|
||||
Vector3 vector = new Vector3(this.defaultLocalPosition.x + this.jitterOffset.x, this.defaultLocalPosition.y + this.jitterOffset.y, this.defaultLocalPosition.z);
|
||||
Vector3 vector2 = new Vector3(this.defaultLocalScale.x + this.jitterScale.x, this.defaultLocalScale.y + this.jitterScale.y, this.defaultLocalScale.z);
|
||||
this.transform.localScale = vector2;
|
||||
this.transform.localPosition = vector;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060267F7 RID: 157687 RVA: 0x00AB3084 File Offset: 0x00AB1284
|
||||
public void LLPHGBGCFMH()
|
||||
{
|
||||
if (this.transform != null)
|
||||
{
|
||||
this.defaultLocalPosition = this.transform.localPosition;
|
||||
this.defaultLocalScale = this.transform.localScale;
|
||||
this.savedDefaultValues = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04006132 RID: 24882
|
||||
public Transform transform;
|
||||
|
||||
// Token: 0x04006133 RID: 24883
|
||||
public int jitterFPS = 6;
|
||||
|
||||
// Token: 0x04006134 RID: 24884
|
||||
public Vector2 maxJitterOffset;
|
||||
|
||||
// Token: 0x04006135 RID: 24885
|
||||
public Vector2 maxJitterScale;
|
||||
|
||||
// Token: 0x04006136 RID: 24886
|
||||
private float lastJitterTime;
|
||||
|
||||
// Token: 0x04006137 RID: 24887
|
||||
private Vector2 jitterOffset;
|
||||
|
||||
// Token: 0x04006138 RID: 24888
|
||||
private Vector3 jitterScale;
|
||||
|
||||
// Token: 0x04006139 RID: 24889
|
||||
private Vector3 defaultLocalPosition = Vector3.zero;
|
||||
|
||||
// Token: 0x0400613A RID: 24890
|
||||
private Vector3 defaultLocalScale = Vector3.one;
|
||||
|
||||
// Token: 0x0400613B RID: 24891
|
||||
private bool savedDefaultValues;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user