init (base model view)

master
wlt233 8 months ago
commit 998cefe867

41
.gitignore vendored

@ -0,0 +1,41 @@
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
Assets/AssetStoreTools*
# Visual Studio cache directory
.vs/
# Visual Studio Code cache directory
.vscode/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
Logs/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.opendb
# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
# Unity3D Generated File On Crash Reports
sysinfo.txt
# Builds
*.apk
*.unitypackage

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: ac671c38d25fba146abad4fea0e652d7
folderAsset: yes
timeCreated: 1711856756
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,14 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000771 RID: 1905
public class FX_Animation_Comment : MonoBehaviour
{
// Token: 0x06003074 RID: 12404 RVA: 0x0010477C File Offset: 0x0010477C
private void Comments(string comments)
{
}
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 762272b12eec5e54a940ce67e5f8ddf6
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,18 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000776 RID: 1910
public class FX_Animation_Event_Number : MonoBehaviour
{
// Token: 0x06003082 RID: 12418 RVA: 0x001050C4 File Offset: 0x001050C4
public void Event_Number(int theValue)
{
this._evtNumber = theValue;
}
// Token: 0x040056FE RID: 22270
private int _evtNumber;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: e22a68c4cdc95e746a98a8828ab010ee
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,135 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000777 RID: 1911
[RequireComponent(typeof(Camera))]
public class FX_CameraCtrl : MonoBehaviour
{
// Token: 0x06003084 RID: 12420 RVA: 0x00105110 File Offset: 0x00105110
private void Start()
{
this.cameraComponent = base.GetComponent<Camera>();
this.fov = this.cameraComponent.fieldOfView;
}
// Token: 0x06003085 RID: 12421 RVA: 0x00105130 File Offset: 0x00105130
private void Update()
{
this.lookatPos = base.transform.position + base.transform.forward * this.lookatDistance;
this.MouseUpdate();
}
// Token: 0x06003086 RID: 12422 RVA: 0x00105164 File Offset: 0x00105164
private void MouseUpdate()
{
float num = Input.GetAxis("Mouse ScrollWheel") * -this.wheelSpeed;
if (num != 0f)
{
this.CameraFov(num);
}
if (Input.GetMouseButtonDown(0) || Input.GetMouseButtonDown(1) || Input.GetMouseButtonDown(2))
{
this.preMousePos = Input.mousePosition;
}
this.MouseDrag(Input.mousePosition);
}
// Token: 0x06003087 RID: 12423 RVA: 0x001051D0 File Offset: 0x001051D0
private void MouseDrag(Vector3 mousePos)
{
Vector3 a = mousePos - this.preMousePos;
if (a.magnitude < 1E-05f)
{
return;
}
if (Input.GetMouseButton(2))
{
base.transform.Translate(-a * Time.deltaTime * this.mouseMiddleSpeed);
}
else if (Input.GetMouseButton(1))
{
this.CameraTargetRotate(new Vector2(-a.y, a.x) * this.mouseRightSpeed);
}
else if (Input.GetMouseButton(0))
{
this.CameraMoveForward(a.y * this.mouseLeftSpeed);
}
this.preMousePos = mousePos;
}
// Token: 0x06003088 RID: 12424 RVA: 0x00105290 File Offset: 0x00105290
public void CameraTargetRotate(Vector2 angle)
{
base.transform.RotateAround(this.lookatPos, base.transform.right, angle.x);
base.transform.RotateAround(this.lookatPos, Vector3.up, angle.y);
}
// Token: 0x06003089 RID: 12425 RVA: 0x001052E0 File Offset: 0x001052E0
public void CameraRotate(Vector2 angle)
{
base.transform.RotateAround(base.transform.position, base.transform.right, angle.x);
base.transform.RotateAround(base.transform.position, Vector3.up, angle.y);
}
// Token: 0x0600308A RID: 12426 RVA: 0x00105338 File Offset: 0x00105338
public void CameraFov(float angle)
{
this.fov += angle;
this.fov = Mathf.Clamp(this.fov, 5f, 170f);
this.cameraComponent.fieldOfView = this.fov;
}
// Token: 0x0600308B RID: 12427 RVA: 0x00105374 File Offset: 0x00105374
private void CameraMoveForward(float delta)
{
base.transform.position += base.transform.forward * delta * 0.1f;
}
// Token: 0x0600308C RID: 12428 RVA: 0x001053A8 File Offset: 0x001053A8
private void OnDrawGizmos()
{
Gizmos.color = new Color(0f, 0f, 0f, 0.5f);
Gizmos.DrawWireSphere(this.lookatPos, 0.01f);
Gizmos.DrawWireSphere(this.lookatPos, 0.02f);
Gizmos.DrawWireSphere(this.lookatPos, 0.03f);
Gizmos.DrawLine(this.lookatPos, base.transform.position);
}
// Token: 0x040056FF RID: 22271
[Range(0.1f, 50f)]
[SerializeField]
private float wheelSpeed = 20f;
// Token: 0x04005700 RID: 22272
[Range(0.01f, 10f)]
[SerializeField]
private float mouseMiddleSpeed = 1f;
// Token: 0x04005701 RID: 22273
[Range(0.01f, 10f)]
[SerializeField]
private float mouseRightSpeed = 0.2f;
// Token: 0x04005702 RID: 22274
[Range(0.01f, 10f)]
[SerializeField]
private float mouseLeftSpeed = 0.1f;
// Token: 0x04005703 RID: 22275
private Vector3 preMousePos;
// Token: 0x04005704 RID: 22276
private Camera cameraComponent;
// Token: 0x04005705 RID: 22277
private float fov;
// Token: 0x04005706 RID: 22278
private Vector3 lookatPos;
// Token: 0x04005707 RID: 22279
private float lookatDistance = 3f;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: ca0d0301f297cb047b3ed3f1de4d83a6
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,53 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000750 RID: 1872
public class FX_CopyAndShareMat_SetParam : MonoBehaviour
{
// Token: 0x0600300F RID: 12303 RVA: 0x00101C58 File Offset: 0x00101C58
private void Start()
{
foreach (Renderer renderer in this._renderers)
{
if (renderer != null && renderer.material != null)
{
if (this._sharedMaterial == null)
{
this._sharedMaterial = new Material(renderer.material);
}
renderer.material = this._sharedMaterial;
}
}
this._propertyID_ValueName = Shader.PropertyToID(this.valueName);
}
// Token: 0x06003010 RID: 12304 RVA: 0x00101CE0 File Offset: 0x00101CE0
private void Update()
{
if (this._sharedMaterial != null)
{
this._sharedMaterial.SetFloat(this._propertyID_ValueName, this.value);
}
}
// Token: 0x040055C2 RID: 21954
[SerializeField]
private string valueName = "_Opacity";
// Token: 0x040055C3 RID: 21955
[SerializeField]
private float value;
// Token: 0x040055C4 RID: 21956
[SerializeField]
private Renderer[] _renderers;
// Token: 0x040055C5 RID: 21957
private Material _sharedMaterial;
// Token: 0x040055C6 RID: 21958
private int _propertyID_ValueName;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: befd315d051060041959f6d29b95a1c7
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,66 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000751 RID: 1873
public class FX_CopyAndShareMat_SetParam2 : MonoBehaviour
{
// Token: 0x06003012 RID: 12306 RVA: 0x00101D2C File Offset: 0x00101D2C
private void Start()
{
foreach (Renderer renderer in this._renderers)
{
if (renderer != null && renderer.material != null)
{
if (this._sharedMaterial == null)
{
this._sharedMaterial = new Material(renderer.material);
}
renderer.material = this._sharedMaterial;
}
}
this._propertyID_ValueName1 = Shader.PropertyToID(this.valueName1);
this._propertyID_ValueName2 = Shader.PropertyToID(this.valueName2);
}
// Token: 0x06003013 RID: 12307 RVA: 0x00101DC8 File Offset: 0x00101DC8
private void Update()
{
if (this._sharedMaterial != null)
{
this._sharedMaterial.SetFloat(this._propertyID_ValueName1, this.value1);
this._sharedMaterial.SetFloat(this._propertyID_ValueName2, this.value2);
}
}
// Token: 0x040055C7 RID: 21959
[SerializeField]
private string valueName1 = "_Exposure";
// Token: 0x040055C8 RID: 21960
[SerializeField]
private float value1;
// Token: 0x040055C9 RID: 21961
[SerializeField]
private string valueName2 = "_Opacity";
// Token: 0x040055CA RID: 21962
[SerializeField]
private float value2;
// Token: 0x040055CB RID: 21963
[SerializeField]
private Renderer[] _renderers;
// Token: 0x040055CC RID: 21964
private Material _sharedMaterial;
// Token: 0x040055CD RID: 21965
private int _propertyID_ValueName1;
// Token: 0x040055CE RID: 21966
private int _propertyID_ValueName2;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: fc7edbe43a650b3478723bbc50d4d6cc
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,79 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000752 RID: 1874
public class FX_CopyAndShareMat_SetParam3 : MonoBehaviour
{
// Token: 0x06003015 RID: 12309 RVA: 0x00101E40 File Offset: 0x00101E40
private void Start()
{
foreach (Renderer renderer in this._renderers)
{
if (renderer != null && renderer.material != null)
{
if (this._sharedMaterial == null)
{
this._sharedMaterial = new Material(renderer.material);
}
renderer.material = this._sharedMaterial;
}
}
this._propertyID_ValueName1 = Shader.PropertyToID(this.valueName1);
this._propertyID_ValueName2 = Shader.PropertyToID(this.valueName2);
this._propertyID_ValueName3 = Shader.PropertyToID(this.valueName3);
}
// Token: 0x06003016 RID: 12310 RVA: 0x00101EEC File Offset: 0x00101EEC
private void Update()
{
if (this._sharedMaterial != null)
{
this._sharedMaterial.SetFloat(this._propertyID_ValueName1, this.value1);
this._sharedMaterial.SetFloat(this._propertyID_ValueName2, this.value2);
this._sharedMaterial.SetFloat(this._propertyID_ValueName3, this.value3);
}
}
// Token: 0x040055CF RID: 21967
[SerializeField]
private string valueName1 = "_Exposure";
// Token: 0x040055D0 RID: 21968
[SerializeField]
private float value1;
// Token: 0x040055D1 RID: 21969
[SerializeField]
private string valueName2 = "_Opacity";
// Token: 0x040055D2 RID: 21970
[SerializeField]
private float value2;
// Token: 0x040055D3 RID: 21971
[SerializeField]
private string valueName3 = string.Empty;
// Token: 0x040055D4 RID: 21972
[SerializeField]
private float value3;
// Token: 0x040055D5 RID: 21973
[SerializeField]
private Renderer[] _renderers;
// Token: 0x040055D6 RID: 21974
private Material _sharedMaterial;
// Token: 0x040055D7 RID: 21975
private int _propertyID_ValueName1;
// Token: 0x040055D8 RID: 21976
private int _propertyID_ValueName2;
// Token: 0x040055D9 RID: 21977
private int _propertyID_ValueName3;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: b1b3785cd1f43f941a2aec6f2817e51f
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,66 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000753 RID: 1875
public class FX_CopyAndShareMat_UVAdd : MonoBehaviour
{
// Token: 0x06003018 RID: 12312 RVA: 0x00101F64 File Offset: 0x00101F64
private void Start()
{
foreach (Renderer renderer in this._renderers)
{
if (renderer != null && renderer.material != null)
{
if (this._sharedMaterial == null)
{
this._sharedMaterial = new Material(renderer.material);
}
renderer.material = this._sharedMaterial;
}
}
if (this._sharedMaterial != null)
{
this._sharedMaterial.SetTextureOffset(this.TextureName, Vector2.zero);
}
}
// Token: 0x06003019 RID: 12313 RVA: 0x00102004 File Offset: 0x00102004
private void Update()
{
if (this._sharedMaterial != null)
{
this._x = Mathf.Repeat(this._x + 60f * Time.deltaTime * this.addSpeedX, 1f);
this._y = Mathf.Repeat(this._y + 60f * Time.deltaTime * this.addSpeedY, 1f);
Vector2 value = new Vector2(this._x, this._y);
this._sharedMaterial.SetTextureOffset(this.TextureName, value);
}
}
// Token: 0x040055DA RID: 21978
[SerializeField]
private string TextureName = "_MainTex";
// Token: 0x040055DB RID: 21979
[SerializeField]
private float addSpeedX;
// Token: 0x040055DC RID: 21980
[SerializeField]
private float addSpeedY;
// Token: 0x040055DD RID: 21981
[SerializeField]
private Renderer[] _renderers;
// Token: 0x040055DE RID: 21982
private Material _sharedMaterial;
// Token: 0x040055DF RID: 21983
private float _x;
// Token: 0x040055E0 RID: 21984
private float _y;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a04895643eb64c847be6dd8f4d9c0da4
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,32 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000754 RID: 1876
public class FX_CopyMat_SetColor : MonoBehaviour
{
// Token: 0x0600301B RID: 12315 RVA: 0x001020DC File Offset: 0x001020DC
private void Start()
{
Renderer component = base.GetComponent<Renderer>();
if (component != null && component.material != null)
{
component.material.SetColor(this.valueName, this.color);
component.material.SetColor(this.valueName2, this.color);
}
}
// Token: 0x040055E1 RID: 21985
[SerializeField]
private string valueName = "_TintColor";
// Token: 0x040055E2 RID: 21986
[SerializeField]
private string valueName2 = "_Color";
// Token: 0x040055E3 RID: 21987
[SerializeField]
private Color color = new Color(1f, 1f, 1f, 1f);
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: c93c1c0120ffb164083b514f66deb166
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,64 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000755 RID: 1877
public class FX_CopyMat_SetColor2_Pulse : MonoBehaviour
{
// Token: 0x0600301D RID: 12317 RVA: 0x001021A0 File Offset: 0x001021A0
private void Start()
{
this.renderer_ = base.GetComponent<Renderer>();
this.propertyID_ValueName_ = Shader.PropertyToID(this.valueName);
this.count_ = this._changeFrames;
}
// Token: 0x0600301E RID: 12318 RVA: 0x001021CC File Offset: 0x001021CC
private void Update()
{
if (this.count_ >= this._changeFrames)
{
this.count_ = 0;
if (this.switching_)
{
this.renderer_.material.SetColor(this.propertyID_ValueName_, this._color1);
}
else
{
this.renderer_.material.SetColor(this.propertyID_ValueName_, this._color2);
}
this.switching_ = !this.switching_;
}
this.count_++;
}
// Token: 0x040055E4 RID: 21988
[SerializeField]
private string valueName = "_TintColor";
// Token: 0x040055E5 RID: 21989
[SerializeField]
private Color _color1 = new Color(1f, 1f, 1f, 1f);
// Token: 0x040055E6 RID: 21990
[SerializeField]
private Color _color2 = new Color(1f, 1f, 1f, 1f);
// Token: 0x040055E7 RID: 21991
[SerializeField]
private int _changeFrames = 1;
// Token: 0x040055E8 RID: 21992
private Renderer renderer_;
// Token: 0x040055E9 RID: 21993
private bool switching_;
// Token: 0x040055EA RID: 21994
private int count_;
// Token: 0x040055EB RID: 21995
private int propertyID_ValueName_;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: cf904fa012b2a9a46b0050bd4e342005
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,42 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000756 RID: 1878
public class FX_CopyMat_SetColor_Child : MonoBehaviour
{
// Token: 0x06003020 RID: 12320 RVA: 0x00102298 File Offset: 0x00102298
private void Start()
{
int propertyID_ValueName1 = Shader.PropertyToID(this.valueName);
int propertyID_ValueName2 = Shader.PropertyToID(this.valueName2);
GetAllChildren.MapComponentsInChildren<Renderer>(base.transform, delegate(Renderer renderer)
{
if (null == renderer)
{
return;
}
Material[] materials = renderer.materials;
for (int i = 0; i < materials.Length; i++)
{
materials[i].SetColor(propertyID_ValueName1, this.color);
materials[i].SetColor(propertyID_ValueName2, this.color);
}
renderer.materials = materials;
});
}
// Token: 0x040055EC RID: 21996
[SerializeField]
private string valueName = "_TintColor";
// Token: 0x040055ED RID: 21997
[SerializeField]
private string valueName2 = "_Color";
// Token: 0x040055EE RID: 21998
[SerializeField]
private Color color = new Color(1f, 1f, 1f, 1f);
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 552d7c8781968c04c9b5a9fd0556ca6c
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,40 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000758 RID: 1880
public class FX_CopyMat_SetParam : MonoBehaviour
{
// Token: 0x06003024 RID: 12324 RVA: 0x00102378 File Offset: 0x00102378
private void Start()
{
Renderer component = base.GetComponent<Renderer>();
this._material = ((!(component != null)) ? null : component.material);
this._propertyID_ValueName = Shader.PropertyToID(this.valueName);
}
// Token: 0x06003025 RID: 12325 RVA: 0x001023BC File Offset: 0x001023BC
private void Update()
{
if (this._material != null)
{
this._material.SetFloat(this._propertyID_ValueName, this.value);
}
}
// Token: 0x040055F2 RID: 22002
[SerializeField]
private string valueName = "_Opacity";
// Token: 0x040055F3 RID: 22003
[SerializeField]
private float value;
// Token: 0x040055F4 RID: 22004
private Material _material;
// Token: 0x040055F5 RID: 22005
private int _propertyID_ValueName;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: ddebf46f61f23594c98deb4a1353a2eb
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,53 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000759 RID: 1881
public class FX_CopyMat_SetParam2 : MonoBehaviour
{
// Token: 0x06003027 RID: 12327 RVA: 0x00102408 File Offset: 0x00102408
private void Start()
{
Renderer component = base.GetComponent<Renderer>();
this._material = ((!(component != null)) ? null : component.material);
this._propertyID_ValueName1 = Shader.PropertyToID(this.valueName1);
this._propertyID_ValueName2 = Shader.PropertyToID(this.valueName2);
}
// Token: 0x06003028 RID: 12328 RVA: 0x0010245C File Offset: 0x0010245C
private void Update()
{
if (this._material != null)
{
this._material.SetFloat(this._propertyID_ValueName1, this.value1);
this._material.SetFloat(this._propertyID_ValueName2, this.value2);
}
}
// Token: 0x040055F6 RID: 22006
[SerializeField]
private string valueName1 = "_Exposure";
// Token: 0x040055F7 RID: 22007
[SerializeField]
private float value1;
// Token: 0x040055F8 RID: 22008
[SerializeField]
private string valueName2 = "_Opacity";
// Token: 0x040055F9 RID: 22009
[SerializeField]
private float value2;
// Token: 0x040055FA RID: 22010
private Material _material;
// Token: 0x040055FB RID: 22011
private int _propertyID_ValueName1;
// Token: 0x040055FC RID: 22012
private int _propertyID_ValueName2;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 810502cc3a628124f94a97bfc7535ba9
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,66 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200075A RID: 1882
public class FX_CopyMat_SetParam3 : MonoBehaviour
{
// Token: 0x0600302A RID: 12330 RVA: 0x001024D4 File Offset: 0x001024D4
private void Start()
{
Renderer component = base.GetComponent<Renderer>();
this._material = ((!(component != null)) ? null : component.material);
this._propertyID_ValueName1 = Shader.PropertyToID(this.valueName1);
this._propertyID_ValueName2 = Shader.PropertyToID(this.valueName2);
this._propertyID_ValueName3 = Shader.PropertyToID(this.valueName3);
}
// Token: 0x0600302B RID: 12331 RVA: 0x0010253C File Offset: 0x0010253C
private void Update()
{
if (this._material != null)
{
this._material.SetFloat(this._propertyID_ValueName1, this.value1);
this._material.SetFloat(this._propertyID_ValueName2, this.value2);
this._material.SetFloat(this._propertyID_ValueName3, this.value3);
}
}
// Token: 0x040055FD RID: 22013
[SerializeField]
private string valueName1 = "_Exposure";
// Token: 0x040055FE RID: 22014
[SerializeField]
private float value1;
// Token: 0x040055FF RID: 22015
[SerializeField]
private string valueName2 = "_Opacity";
// Token: 0x04005600 RID: 22016
[SerializeField]
private float value2;
// Token: 0x04005601 RID: 22017
[SerializeField]
private string valueName3 = string.Empty;
// Token: 0x04005602 RID: 22018
[SerializeField]
private float value3;
// Token: 0x04005603 RID: 22019
private Material _material;
// Token: 0x04005604 RID: 22020
private int _propertyID_ValueName1;
// Token: 0x04005605 RID: 22021
private int _propertyID_ValueName2;
// Token: 0x04005606 RID: 22022
private int _propertyID_ValueName3;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 965c435172d9bcf4a8958fe0068e5354
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,56 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200075B RID: 1883
public class FX_CopyMat_SetParamCurve : MonoBehaviour
{
// Token: 0x0600302D RID: 12333 RVA: 0x00102628 File Offset: 0x00102628
private void Start()
{
Renderer component = base.GetComponent<Renderer>();
this._material = ((!(component != null)) ? null : component.material);
this._propertyID_ValueName = Shader.PropertyToID(this._valueName);
}
// Token: 0x0600302E RID: 12334 RVA: 0x0010266C File Offset: 0x0010266C
private void Update()
{
if (this._material != null)
{
float value = this._keyValueMagnification * this.CurveX.Evaluate(this.duration);
this._material.SetFloat(this._propertyID_ValueName, value);
}
this.duration += Time.deltaTime / this._keyTimeMagnification;
}
// Token: 0x04005607 RID: 22023
[SerializeField]
private string _valueName = "_Opacity";
// Token: 0x04005608 RID: 22024
[SerializeField]
private float _keyValueMagnification = 1f;
// Token: 0x04005609 RID: 22025
[SerializeField]
private float _keyTimeMagnification = 1f;
// Token: 0x0400560A RID: 22026
private float duration;
// Token: 0x0400560B RID: 22027
public AnimationCurve CurveX = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f, 3f, 3f),
new Keyframe(1f, 1f)
});
// Token: 0x0400560C RID: 22028
private Material _material;
// Token: 0x0400560D RID: 22029
private int _propertyID_ValueName;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 6d02a7e5c21fc9348bdeb73a893778ae
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,42 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200075C RID: 1884
public class FX_CopyMat_SetParam_ByScale : MonoBehaviour
{
// Token: 0x06003030 RID: 12336 RVA: 0x001026E4 File Offset: 0x001026E4
private void Start()
{
Renderer component = base.GetComponent<Renderer>();
this._materials = ((!(component != null)) ? null : component.materials);
this._propertyID_ValueName = Shader.PropertyToID(this.valueName);
}
// Token: 0x06003031 RID: 12337 RVA: 0x00102728 File Offset: 0x00102728
private void Update()
{
if (this._materials.Length != 0)
{
for (int i = this._materials.Length - 1; i >= 0; i--)
{
this._materials[i].SetFloat(this._propertyID_ValueName, base.transform.lossyScale.x);
}
}
}
// Token: 0x0400560E RID: 22030
[SerializeField]
private string valueName = "_Opacity";
// Token: 0x0400560F RID: 22031
private Material _material;
// Token: 0x04005610 RID: 22032
private Material[] _materials;
// Token: 0x04005611 RID: 22033
private int _propertyID_ValueName;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: ad11cbc065a31c744a131075595da79d
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,53 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200075D RID: 1885
public class FX_CopyMat_UVAdd : MonoBehaviour
{
// Token: 0x06003033 RID: 12339 RVA: 0x00102798 File Offset: 0x00102798
private void Start()
{
Renderer component = base.GetComponent<Renderer>();
this._material = ((!(component != null)) ? null : component.material);
if (this._material != null)
{
this._material.SetTextureOffset(this.TextureName, Vector2.zero);
}
}
// Token: 0x06003034 RID: 12340 RVA: 0x001027F4 File Offset: 0x001027F4
private void Update()
{
if (this._material != null)
{
this._x = Mathf.Repeat(this._x + 60f * Time.deltaTime * this.addSpeedX, 1f);
this._y = Mathf.Repeat(this._y + 60f * Time.deltaTime * this.addSpeedY, 1f);
Vector2 value = new Vector2(this._x, this._y);
this._material.SetTextureOffset(this.TextureName, value);
}
}
// Token: 0x04005612 RID: 22034
[SerializeField]
private string TextureName = "_MainTex";
// Token: 0x04005613 RID: 22035
[SerializeField]
private float addSpeedX;
// Token: 0x04005614 RID: 22036
[SerializeField]
private float addSpeedY;
// Token: 0x04005615 RID: 22037
private Material _material;
// Token: 0x04005616 RID: 22038
private float _x;
// Token: 0x04005617 RID: 22039
private float _y;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 26cb10d9705b5f04993462517fbbb4cf
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,18 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000741 RID: 1857
public class FX_Destroy : MonoBehaviour
{
// Token: 0x06002FEA RID: 12266 RVA: 0x0010083C File Offset: 0x0010083C
private void Start()
{
UnityEngine.Object.Destroy(base.gameObject, this.EndTime);
}
// Token: 0x0400557B RID: 21883
public float EndTime = 2f;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 84eb4f200cc05404b93d53b9f5471746
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,37 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000742 RID: 1858
public class FX_GenerateFan : MonoBehaviour
{
// Token: 0x06002FEC RID: 12268 RVA: 0x00100888 File Offset: 0x00100888
private void Start()
{
for (int i = this.ObjNumber; i >= 1; i--)
{
Vector3 vector = new Vector3(base.gameObject.transform.eulerAngles.x + this.RotateFanEnd[0] * (float)(i - 1) / (float)(this.ObjNumber - 1), base.gameObject.transform.eulerAngles.y + this.RotateFanEnd[1] * (float)(i - 1) / (float)(this.ObjNumber - 1), base.gameObject.transform.eulerAngles.z + this.RotateFanEnd[2] * (float)(i - 1) / (float)(this.ObjNumber - 1));
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.GenerateObject);
gameObject.transform.position = new Vector3(base.gameObject.transform.position.x + Mathf.Sin(vector[1] * 0.017453292f) * (float)this.ObjRadius, base.gameObject.transform.position.y, base.gameObject.transform.position.z + Mathf.Cos(vector[1] * 0.017453292f) * (float)this.ObjRadius);
gameObject.transform.eulerAngles = new Vector3(vector[0], vector[1], vector[2]);
gameObject.transform.parent = base.transform;
}
}
// Token: 0x0400557C RID: 21884
public GameObject GenerateObject;
// Token: 0x0400557D RID: 21885
public int ObjNumber = 6;
// Token: 0x0400557E RID: 21886
public int ObjRadius = 1;
// Token: 0x0400557F RID: 21887
public bool SaveRotate = true;
// Token: 0x04005580 RID: 21888
public Vector3 RotateFanEnd = new Vector3(0f, 0f, 0f);
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 4cab9615a22db034284c1f74ee26e3f2
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,29 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000743 RID: 1859
public class FX_GenerateLine : MonoBehaviour
{
// Token: 0x06002FEE RID: 12270 RVA: 0x00100A58 File Offset: 0x00100A58
private void Start()
{
for (int i = this.ObjNumber - 1; i >= 0; i--)
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.GenerateObject);
gameObject.transform.position = new Vector3(base.gameObject.transform.position.x + this.CoordinateDistance[0] * (float)i, base.gameObject.transform.position.y + this.CoordinateDistance[1] * (float)i, base.gameObject.transform.position.z + this.CoordinateDistance[2] * (float)i);
gameObject.transform.parent = base.transform;
}
}
// Token: 0x04005581 RID: 21889
public GameObject GenerateObject;
// Token: 0x04005582 RID: 21890
public int ObjNumber = 1;
// Token: 0x04005583 RID: 21891
public Vector3 CoordinateDistance = new Vector3(0f, 0f, 0f);
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 38b5453195f48684f83925b63b9bdeb2
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,19 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000744 RID: 1860
public class FX_GenerateSingle : MonoBehaviour
{
// Token: 0x06002FF0 RID: 12272 RVA: 0x00100B2C File Offset: 0x00100B2C
private void Start()
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.GenerateObject);
gameObject.transform.SetParent(base.transform, false);
}
// Token: 0x04005584 RID: 21892
public GameObject GenerateObject;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 3ae76ad966038d74a94a3eee501e54a8
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,31 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000745 RID: 1861
public class FX_GenerateToParents : MonoBehaviour
{
// Token: 0x06002FF2 RID: 12274 RVA: 0x00100B60 File Offset: 0x00100B60
private void Start()
{
if (this._parent.Length > 0)
{
for (int i = this._parent.Length - 1; i >= 0; i--)
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.GenerateObject);
gameObject.transform.position = this._parent[i].transform.position;
gameObject.transform.parent = this._parent[i].transform;
}
}
}
// Token: 0x04005585 RID: 21893
[SerializeField]
private GameObject GenerateObject;
// Token: 0x04005586 RID: 21894
[SerializeField]
private GameObject[] _parent;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: c045ed78d1a0d7d46b8fc73176c1b792
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,40 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000746 RID: 1862
public class FX_LensFlare_Move : MonoBehaviour
{
// Token: 0x06002FF4 RID: 12276 RVA: 0x00100BE0 File Offset: 0x00100BE0
private void Start()
{
if (this._centerPosition == null)
{
this._centerPosition = base.transform;
}
this.OriginalScale = new Vector3(1f / base.transform.lossyScale.x, 1f / base.transform.lossyScale.y, 1f / base.transform.lossyScale.z);
}
// Token: 0x06002FF5 RID: 12277 RVA: 0x00100C60 File Offset: 0x00100C60
private void Update()
{
float x = this._targetPosition.position.x - this._centerPosition.position.x;
float y = this._targetPosition.position.y - this._centerPosition.position.y;
float num = Mathf.Atan2(y, x) * 57.29578f;
base.transform.localEulerAngles = new Vector3(0f, 0f, num - 90f);
float num2 = Vector3.Distance(this._centerPosition.position, this._targetPosition.position);
base.transform.localScale = new Vector3(num2 * this.OriginalScale.x, num2 * this.OriginalScale.y, num2 * this.OriginalScale.z);
}
// Token: 0x04005587 RID: 21895
[SerializeField]
private Transform _targetPosition;
// Token: 0x04005588 RID: 21896
private Transform _centerPosition;
// Token: 0x04005589 RID: 21897
private Vector3 OriginalScale;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: dd8030c16fd44f147bb7997e1891fd39
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using UnityEngine;
namespace FX
{
// Token: 0x02000778 RID: 1912
public class FX_MotionEffects : MonoBehaviour
{
// Token: 0x0600308E RID: 12430 RVA: 0x00105424 File Offset: 0x00105424
private void Start()
{
}
// Token: 0x0600308F RID: 12431 RVA: 0x00105428 File Offset: 0x00105428
private void Effect(int Element)
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.FXPrefabs[Element]);
gameObject.transform.SetParent(this.pos_fx.transform, false);
}
// Token: 0x04005708 RID: 22280
[Tooltip("1.『pos_fx』に、子階層の pos_fx を\r\n\tドラッグして入れてください。\r\n2.『FX Prefabs』を開いて種類分の個数を指定し、空欄に\r\nエフェクトのPrefabをドラッグして入れてください。\r\n3.エフェクトを発生させたいモーションのフレームに、\r\nAdd event ボタンでイベントを追加してください。\r\n4.3のイベントのインスペクターから、『Function』に\r\nFX_Muzzle()』を設定してください。\r\nエフェクトを複数設定した場合は\r\n『int』に、Element番号を指定してください。")]
[SerializeField]
private Transform pos_fx;
// Token: 0x04005709 RID: 22281
public List<GameObject> FXPrefabs;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a72edb9993586884d8a254f52ec9f67c
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,133 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000766 RID: 1894
[RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))]
public class FX_Polygon_Flag : MonoBehaviour
{
// Token: 0x06003054 RID: 12372 RVA: 0x001038F8 File Offset: 0x001038F8
private void Start()
{
this._renderer = base.GetComponent<Renderer>();
this._meshFilter = base.GetComponent<MeshFilter>();
this._mesh = new Mesh();
this._mesh.vertices = this._vertices;
this._mesh.uv = this._uv;
this._prevPosition = base.transform.position;
}
// Token: 0x06003055 RID: 12373 RVA: 0x0010395C File Offset: 0x0010395C
private void Update()
{
if (this._renderer != null && this._renderer.material != null)
{
Vector3 a = this._prevPosition + this._nowChaser;
this._nowChaser = Vector3.Lerp(a, base.transform.position, this._tailDamper) - base.transform.position;
this._nowChaser_Rot = Quaternion.Lerp(this._nowChaser_Rot, base.transform.parent.rotation, this._tailDamper);
this._vertices[1] = base.transform.parent.rotation * this._topPosition;
this._vertices[2] = this._nowChaser;
this._vertices[3] = this._nowChaser + this._nowChaser_Rot * this._topPosition;
float num = Vector3.Distance(Vector3.zero, this._nowChaser);
float num2 = Vector3.Distance(this._vertices[1], this._vertices[3]);
float num3 = (num <= num2) ? num2 : num;
float a2 = Mathf.Clamp01((num3 - this._minLength) / this._visibleLength);
this._colors[0].a = a2;
this._colors[1].a = a2;
this._colors[2].a = a2;
this._colors[3].a = a2;
if (num3 > this._minLength)
{
this._mesh.vertices = this._vertices;
this._mesh.colors = this._colors;
this._mesh.triangles = this._triangles;
this._meshFilter.sharedMesh = this._mesh;
}
else
{
this._meshFilter.sharedMesh = null;
}
this._prevPosition = base.transform.position;
base.transform.rotation = Quaternion.identity;
}
}
// Token: 0x04005698 RID: 22168
[SerializeField]
[Range(0f, 1f)]
[Tooltip("この値が高い程 短くなります")]
private float _tailDamper = 0.2f;
// Token: 0x04005699 RID: 22169
[Tooltip("先端の位置(相対)")]
[SerializeField]
private Vector3 _topPosition = new Vector3(0f, 0f, 0.6f);
// Token: 0x0400569A RID: 22170
[Tooltip("描画される最短距離")]
[SerializeField]
private float _minLength = 0.2f;
// Token: 0x0400569B RID: 22171
[SerializeField]
[Tooltip("minLengthから頂点アルファが1になるまでの距離初期値固定")]
private float _visibleLength = 0.3f;
// Token: 0x0400569C RID: 22172
private Renderer _renderer;
// Token: 0x0400569D RID: 22173
private Vector3 _nowChaser;
// Token: 0x0400569E RID: 22174
private Vector3 _prevPosition;
// Token: 0x0400569F RID: 22175
private Quaternion _nowChaser_Rot;
// Token: 0x040056A0 RID: 22176
private Mesh _mesh;
// Token: 0x040056A1 RID: 22177
private int[] _triangles = new int[]
{
0,
1,
2,
2,
1,
3
};
// Token: 0x040056A2 RID: 22178
private Vector2[] _uv = new Vector2[]
{
Vector2.zero,
Vector2.up,
Vector2.right,
Vector2.one
};
// Token: 0x040056A3 RID: 22179
private Color[] _colors = new Color[]
{
Color.white,
Color.white,
Color.white,
Color.white
};
// Token: 0x040056A4 RID: 22180
private Vector3[] _vertices = new Vector3[]
{
Vector3.zero,
Vector3.zero,
Vector3.zero,
Vector3.zero
};
// Token: 0x040056A5 RID: 22181
private MeshFilter _meshFilter;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 450aba2634b16fc42a578bafe33ca0f9
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,59 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000747 RID: 1863
public class FX_PositionAdd : MonoBehaviour
{
// Token: 0x06002FF7 RID: 12279 RVA: 0x00100DE4 File Offset: 0x00100DE4
private void Start()
{
this.localPosition_ = this.transform_.localPosition;
}
// Token: 0x06002FF8 RID: 12280 RVA: 0x00100DF8 File Offset: 0x00100DF8
private void OnEnable()
{
this.transform_ = base.transform;
this.transform_.localPosition = this.localPosition_;
this.posStartRandom_Rate = new Vector3(UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f));
this.transform_.Translate(this.posStart[0] + this.posStartRandom[0] * this.posStartRandom_Rate[0], this.posStart[1] + this.posStartRandom[1] * this.posStartRandom_Rate[1], this.posStart[2] + this.posStartRandom[2] * this.posStartRandom_Rate[2]);
this.posAddRandom_Rate = new Vector3(UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f));
}
// Token: 0x06002FF9 RID: 12281 RVA: 0x00100F10 File Offset: 0x00100F10
private void Update()
{
this.transform_.Translate(this.posAdd[0] + this.posAddRandom[0] * this.posAddRandom_Rate[0] * 60f * Time.deltaTime, this.posAdd[1] + this.posAddRandom[1] * this.posAddRandom_Rate[1] * 60f * Time.deltaTime, this.posAdd[2] + this.posAddRandom[2] * this.posAddRandom_Rate[2] * 60f * Time.deltaTime);
}
// Token: 0x0400558A RID: 21898
[SerializeField]
private Vector3 posStart = new Vector3(0f, 0f, 0f);
// Token: 0x0400558B RID: 21899
[SerializeField]
private Vector3 posStartRandom = new Vector3(0f, 0f, 0f);
// Token: 0x0400558C RID: 21900
[SerializeField]
private Vector3 posAdd = new Vector3(0f, 0f, 0f);
// Token: 0x0400558D RID: 21901
[SerializeField]
private Vector3 posAddRandom = new Vector3(0f, 0f, 0f);
// Token: 0x0400558E RID: 21902
private Vector3 posStartRandom_Rate = default(Vector3);
// Token: 0x0400558F RID: 21903
private Vector3 posAddRandom_Rate = default(Vector3);
// Token: 0x04005590 RID: 21904
private Transform transform_;
// Token: 0x04005591 RID: 21905
private Vector3 localPosition_;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 8379ab3c200277e499755ff81ba2b3d3
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,59 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000748 RID: 1864
public class FX_PositionCurve : MonoBehaviour
{
// Token: 0x06002FFB RID: 12283 RVA: 0x001010D8 File Offset: 0x001010D8
private void Update()
{
float x = this.keyValueMagnification * this.CurveX.Evaluate(this.duration);
float y = this.keyValueMagnification * this.CurveY.Evaluate(this.duration);
float z = this.keyValueMagnification * this.CurveZ.Evaluate(this.duration);
this.animState = new Vector3(x, y, z);
base.transform.Translate(this.animState - this.preState);
this.preState = this.animState;
this.duration += Time.deltaTime / this.keyTimeMagnification;
}
// Token: 0x04005592 RID: 21906
[SerializeField]
private float keyValueMagnification = 1f;
// Token: 0x04005593 RID: 21907
[SerializeField]
private float keyTimeMagnification = 1f;
// Token: 0x04005594 RID: 21908
private float duration;
// Token: 0x04005595 RID: 21909
private Vector3 preState = new Vector3(0f, 0f, 0f);
// Token: 0x04005596 RID: 21910
private Vector3 animState;
// Token: 0x04005597 RID: 21911
public AnimationCurve CurveX = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f),
new Keyframe(0f, 0f)
});
// Token: 0x04005598 RID: 21912
public AnimationCurve CurveY = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f),
new Keyframe(0f, 0f)
});
// Token: 0x04005599 RID: 21913
public AnimationCurve CurveZ = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f),
new Keyframe(0f, 0f)
});
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 28af38bed538b1b4f8b00f5d05b68dd6
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,64 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000749 RID: 1865
public class FX_RotationAdd : MonoBehaviour
{
// Token: 0x06002FFD RID: 12285 RVA: 0x0010121C File Offset: 0x0010121C
private void Start()
{
this.rotStartRandom_Rate = new Vector3(UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f));
base.transform.Rotate(this.rotStart[0] + this.rotStartRandom[0] * this.rotStartRandom_Rate[0], this.rotStart[1] + this.rotStartRandom[1] * this.rotStartRandom_Rate[1], this.rotStart[2] + this.rotStartRandom[2] * this.rotStartRandom_Rate[2]);
this.rotAddRandom_Rate = new Vector3(UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f), UnityEngine.Random.Range(-1f, 1f));
}
// Token: 0x06002FFE RID: 12286 RVA: 0x00101318 File Offset: 0x00101318
private void Update()
{
float num = Time.deltaTime * 60f;
if (!this._individualXYZ)
{
base.transform.Rotate(this.rotAdd[0] * num + this.rotAddRandom[0] * this.rotAddRandom_Rate[0] * num, this.rotAdd[1] * num + this.rotAddRandom[1] * this.rotAddRandom_Rate[1] * num, this.rotAdd[2] * num + this.rotAddRandom[2] * this.rotAddRandom_Rate[2] * num);
}
else
{
float x = this.rotStart[0] + this.rotStartRandom[0] * this.rotStartRandom_Rate[0] + (this.rotAdd[0] * this._timeCount + this.rotAddRandom[0] * this.rotAddRandom_Rate[0] * this._timeCount);
float y = this.rotStart[1] + this.rotStartRandom[1] * this.rotStartRandom_Rate[1] + (this.rotAdd[1] * this._timeCount + this.rotAddRandom[1] * this.rotAddRandom_Rate[1] * this._timeCount);
float z = this.rotStart[2] + this.rotStartRandom[2] * this.rotStartRandom_Rate[2] + (this.rotAdd[2] * this._timeCount + this.rotAddRandom[2] * this.rotAddRandom_Rate[2] * this._timeCount);
base.transform.localEulerAngles = new Vector3(x, y, z);
this._timeCount += num;
}
}
// Token: 0x0400559A RID: 21914
[SerializeField]
private Vector3 rotStart = new Vector3(0f, 0f, 0f);
// Token: 0x0400559B RID: 21915
[SerializeField]
private Vector3 rotStartRandom = new Vector3(0f, 0f, 0f);
// Token: 0x0400559C RID: 21916
[SerializeField]
private Vector3 rotAdd = new Vector3(0f, 0f, 0f);
// Token: 0x0400559D RID: 21917
[SerializeField]
private Vector3 rotAddRandom = new Vector3(0f, 0f, 0f);
// Token: 0x0400559E RID: 21918
private Vector3 rotStartRandom_Rate = default(Vector3);
// Token: 0x0400559F RID: 21919
private Vector3 rotAddRandom_Rate = default(Vector3);
// Token: 0x040055A0 RID: 21920
[SerializeField]
private bool _individualXYZ;
// Token: 0x040055A1 RID: 21921
private float _timeCount;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 90d23c251f2eb0648b26067d9ba26e65
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,59 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200074A RID: 1866
public class FX_RotationCurve : MonoBehaviour
{
// Token: 0x06003000 RID: 12288 RVA: 0x00101618 File Offset: 0x00101618
private void Update()
{
float x = this.keyValueMagnification * this.CurveX.Evaluate(this.duration);
float y = this.keyValueMagnification * this.CurveY.Evaluate(this.duration);
float z = this.keyValueMagnification * this.CurveZ.Evaluate(this.duration);
this.animState = new Vector3(x, y, z);
base.transform.Rotate(this.animState - this.preState);
this.preState = this.animState;
this.duration += Time.deltaTime / this.keyTimeMagnification;
}
// Token: 0x040055A2 RID: 21922
[SerializeField]
private float keyValueMagnification = 1f;
// Token: 0x040055A3 RID: 21923
[SerializeField]
private float keyTimeMagnification = 1f;
// Token: 0x040055A4 RID: 21924
private float duration;
// Token: 0x040055A5 RID: 21925
private Vector3 preState = new Vector3(0f, 0f, 0f);
// Token: 0x040055A6 RID: 21926
private Vector3 animState;
// Token: 0x040055A7 RID: 21927
public AnimationCurve CurveX = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f),
new Keyframe(0f, 0f)
});
// Token: 0x040055A8 RID: 21928
public AnimationCurve CurveY = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f),
new Keyframe(0f, 0f)
});
// Token: 0x040055A9 RID: 21929
public AnimationCurve CurveZ = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f),
new Keyframe(0f, 0f)
});
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 51df3c6b59fed9a4b87a7f9c26c02d14
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,70 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200074B RID: 1867
public class FX_ScaleCurve : MonoBehaviour
{
// Token: 0x06003002 RID: 12290 RVA: 0x001017DC File Offset: 0x001017DC
private void Update()
{
if (!(this.resetTime & this.toggleResetTime))
{
if (this.resetTime & !this.toggleResetTime)
{
this.duration = 0f;
this.toggleResetTime = true;
}
else
{
this.toggleResetTime = false;
}
}
float x = this.keyValueMagnification * this.CurveX.Evaluate(this.duration);
float y = this.keyValueMagnification * this.CurveY.Evaluate(this.duration);
float z = this.keyValueMagnification * this.CurveZ.Evaluate(this.duration);
this.duration += Time.deltaTime / this.keyTimeMagnification;
base.transform.localScale = new Vector3(x, y, z);
}
// Token: 0x040055AA RID: 21930
[SerializeField]
private float keyValueMagnification = 1f;
// Token: 0x040055AB RID: 21931
[SerializeField]
private float keyTimeMagnification = 1f;
// Token: 0x040055AC RID: 21932
private float duration;
// Token: 0x040055AD RID: 21933
[SerializeField]
private bool resetTime;
// Token: 0x040055AE RID: 21934
private bool toggleResetTime;
// Token: 0x040055AF RID: 21935
public AnimationCurve CurveX = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f, 3f, 3f),
new Keyframe(1f, 1f)
});
// Token: 0x040055B0 RID: 21936
public AnimationCurve CurveY = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f, 3f, 3f),
new Keyframe(1f, 1f)
});
// Token: 0x040055B1 RID: 21937
public AnimationCurve CurveZ = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f, 3f, 3f),
new Keyframe(1f, 1f)
});
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: e7f27ec87f7d88f43974c2ff825af187
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,59 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200074C RID: 1868
public class FX_ScaleCurve_incremental : MonoBehaviour
{
// Token: 0x06003004 RID: 12292 RVA: 0x001019EC File Offset: 0x001019EC
private void Update()
{
float x = this.keyValueMagnification * this.CurveX.Evaluate(this.duration);
float y = this.keyValueMagnification * this.CurveY.Evaluate(this.duration);
float z = this.keyValueMagnification * this.CurveZ.Evaluate(this.duration);
this.animState = new Vector3(x, y, z);
base.transform.localScale += this.animState - this.preState;
this.preState = this.animState;
this.duration += Time.deltaTime / this.keyTimeMagnification;
}
// Token: 0x040055B2 RID: 21938
[SerializeField]
private float keyValueMagnification = 1f;
// Token: 0x040055B3 RID: 21939
[SerializeField]
private float keyTimeMagnification = 1f;
// Token: 0x040055B4 RID: 21940
private float duration;
// Token: 0x040055B5 RID: 21941
private Vector3 preState = new Vector3(1f, 1f, 1f);
// Token: 0x040055B6 RID: 21942
private Vector3 animState;
// Token: 0x040055B7 RID: 21943
public AnimationCurve CurveX = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f, 3f, 3f),
new Keyframe(1f, 1f)
});
// Token: 0x040055B8 RID: 21944
public AnimationCurve CurveY = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f, 3f, 3f),
new Keyframe(1f, 1f)
});
// Token: 0x040055B9 RID: 21945
public AnimationCurve CurveZ = new AnimationCurve(new Keyframe[]
{
new Keyframe(0f, 0f, 3f, 3f),
new Keyframe(1f, 1f)
});
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 58e81f6cb88567347b943998c40950ee
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,28 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000760 RID: 1888
public class FX_Trail_ScaleToWidth : MonoBehaviour
{
// Token: 0x0600303B RID: 12347 RVA: 0x00102924 File Offset: 0x00102924
private void Start()
{
this.tRenderer = base.GetComponent<TrailRenderer>();
}
// Token: 0x0600303C RID: 12348 RVA: 0x00102934 File Offset: 0x00102934
private void Update()
{
this.tRenderer.widthMultiplier = base.transform.lossyScale.x;
if (base.transform.lossyScale.x == 0f)
{
this.tRenderer.Clear();
}
}
// Token: 0x0400561A RID: 22042
private TrailRenderer tRenderer;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 0d30fdb0863b5694db44c007203ace9c
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,17 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000761 RID: 1889
public class FX_Trail_SetRenderer : MonoBehaviour
{
// Token: 0x0400561B RID: 22043
[Tooltip("Order in Layerの値")]
[SerializeField]
private int _order_in_Layer;
// Token: 0x0400561C RID: 22044
private TrailRenderer tRenderer;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 204e2a3c0979d69449af8788664c798b
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,51 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200074D RID: 1869
public class FX_TransformReset : MonoBehaviour
{
// Token: 0x06003006 RID: 12294 RVA: 0x00101AA8 File Offset: 0x00101AA8
private void Start()
{
if (this._resetLocalPosition)
{
base.transform.localPosition = Vector3.zero;
}
if (this._resetLocalRotation)
{
base.transform.rotation = new Quaternion(0f, 0f, 0f, 0f);
}
if (this._resetLocalScale)
{
base.transform.localScale = Vector3.one;
}
}
// Token: 0x06003007 RID: 12295 RVA: 0x00101B1C File Offset: 0x00101B1C
private void LateUpdate()
{
if (this._setRotationWorldIdentity)
{
base.transform.rotation = Quaternion.identity;
}
}
// Token: 0x040055BA RID: 21946
[SerializeField]
private bool _resetLocalPosition;
// Token: 0x040055BB RID: 21947
[SerializeField]
private bool _resetLocalRotation;
// Token: 0x040055BC RID: 21948
[SerializeField]
private bool _resetLocalScale;
// Token: 0x040055BD RID: 21949
[SerializeField]
private bool _setRotationWorldIdentity;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 5e65c7411423b714cb0d06857329d04b
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,40 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200074E RID: 1870
public class FX_TurnCamera : MonoBehaviour
{
// Token: 0x06003009 RID: 12297 RVA: 0x00101B44 File Offset: 0x00101B44
private void Start()
{
if (this.targetCamera == null)
{
this.targetCamera = Camera.main;
}
}
// Token: 0x0600300A RID: 12298 RVA: 0x00101B64 File Offset: 0x00101B64
private void Update()
{
if (!this.alignCamera)
{
base.transform.LookAt(this.targetCamera.transform.position);
base.transform.Rotate(Vector3.up, 180f);
}
else
{
base.transform.rotation = this.targetCamera.transform.rotation;
}
}
// Token: 0x040055BE RID: 21950
[SerializeField]
private Camera targetCamera;
// Token: 0x040055BF RID: 21951
[SerializeField]
private bool alignCamera;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 255dbe81a06d87545b645693c54c8940
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,34 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200074F RID: 1871
public class FX_TurnTranslate : MonoBehaviour
{
// Token: 0x0600300C RID: 12300 RVA: 0x00101BD4 File Offset: 0x00101BD4
private void OnEnable()
{
this.prePos = base.transform.position;
}
// Token: 0x0600300D RID: 12301 RVA: 0x00101BE8 File Offset: 0x00101BE8
private void Update()
{
Transform transform = base.transform;
Vector3 position = transform.position;
this.newPos = position - this.prePos;
if (0.0001f < this.newPos.sqrMagnitude)
{
transform.rotation = Quaternion.LookRotation(this.newPos);
}
this.prePos = position;
}
// Token: 0x040055C0 RID: 21952
private Vector3 prePos;
// Token: 0x040055C1 RID: 21953
private Vector3 newPos;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 794d8fa694ad5de47bcd3dadf822f393
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,220 @@
using System;
using UnityEngine;
using UnityEngine.UI;
namespace FX
{
// Token: 0x02000763 RID: 1891
[ExecuteInEditMode]
[RequireComponent(typeof(Image))]
public class FX_UI_CMN_BG_V115_TitleLogo : MonoBehaviour
{
// Token: 0x06003042 RID: 12354 RVA: 0x00102AC8 File Offset: 0x00102AC8
private void Start()
{
if (null == this.material_)
{
this.material_ = new Material(this._shader);
this.material_.hideFlags = (HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild);
}
this.reset();
}
// Token: 0x06003043 RID: 12355 RVA: 0x00102B00 File Offset: 0x00102B00
private void OnDidApplyAnimationProperties()
{
this.reset();
}
// Token: 0x06003044 RID: 12356 RVA: 0x00102B08 File Offset: 0x00102B08
private void OnDestroy()
{
if (null != this.material_)
{
UnityEngine.Object.DestroyImmediate(this.material_);
this.material_ = null;
}
}
// Token: 0x06003045 RID: 12357 RVA: 0x00102B30 File Offset: 0x00102B30
private void reset()
{
Image component = base.transform.GetComponent<Image>();
if (component == null)
{
return;
}
this.initPropertyId();
component.material = this.material_;
component.material.SetColor(this.id_TintColor, this.TintColor_);
component.material.SetFloat(this.id_Exposure, this.Exposure_);
component.material.SetFloat(this.id_Opacity, this.Opacity_);
component.material.SetFloat(this.id_OverExposure_MulToOpacity, (float)(this.OverExposure_MulToOpacity_ ? 1 : 0));
component.material.SetFloat(this.id_OverExposure_ClampEmission, (float)(this.OverExposure_ClampEmission_ ? 1 : 0));
component.material.SetTexture(this.id_Tex2, this.Tex2_);
component.material.SetFloat(this.id_Cutoff, this.Cutoff_);
component.material.SetFloat(this.id_Border_Rotate, this.Border_Rotate_);
component.material.SetFloat(this.id_Scrool_Time, this.Scrool_Time_);
component.material.SetFloat(this.id_Specular_Offset, this.Specular_Offset_);
component.material.SetFloat(this.id_Holo, this.Holo_);
component.material.SetTexture(this.id_Mask, this.Mask_);
component.material.SetFloat(this.id_Steps, this.Steps_);
component.material.SetTexture(this.id_Steps_Tex, this.Steps_Tex_);
component.material.SetFloat(this.id_Step_Blend, this.Step_Blend_);
component.material.SetFloat(this.id_SystemTime, this.SystemTime_);
}
// Token: 0x06003046 RID: 12358 RVA: 0x00102CF4 File Offset: 0x00102CF4
private void initPropertyId()
{
if (this.id_Opacity != 0)
{
return;
}
this.id_TintColor = Shader.PropertyToID("_TintColor");
this.id_Exposure = Shader.PropertyToID("_Exposure");
this.id_Opacity = Shader.PropertyToID("_Opacity");
this.id_OverExposure_MulToOpacity = Shader.PropertyToID("_OverExposure_MulToOpacity");
this.id_OverExposure_ClampEmission = Shader.PropertyToID("_OverExposure_ClampEmission");
this.id_Tex2 = Shader.PropertyToID("_Tex2");
this.id_Cutoff = Shader.PropertyToID("_Cutoff");
this.id_Border_Rotate = Shader.PropertyToID("_Border_Rotate");
this.id_Scrool_Time = Shader.PropertyToID("_Scrool_Time");
this.id_Specular_Offset = Shader.PropertyToID("_Specular_Offset");
this.id_Holo = Shader.PropertyToID("_Holo");
this.id_Mask = Shader.PropertyToID("_Mask");
this.id_Steps = Shader.PropertyToID("_Steps");
this.id_Steps_Tex = Shader.PropertyToID("_Steps_Tex");
this.id_Step_Blend = Shader.PropertyToID("_Step_Blend");
this.id_SystemTime = Shader.PropertyToID("_SystemTime");
}
// Token: 0x04005625 RID: 22053
[SerializeField]
private Shader _shader;
// Token: 0x04005626 RID: 22054
[SerializeField]
private Color TintColor_ = Color.white;
// Token: 0x04005627 RID: 22055
[Range(-20f, 20f)]
[SerializeField]
private float Exposure_;
// Token: 0x04005628 RID: 22056
[SerializeField]
private float Opacity_ = 1f;
// Token: 0x04005629 RID: 22057
[SerializeField]
private bool OverExposure_MulToOpacity_ = true;
// Token: 0x0400562A RID: 22058
[SerializeField]
private bool OverExposure_ClampEmission_ = true;
// Token: 0x0400562B RID: 22059
[SerializeField]
private Texture2D Tex2_;
// Token: 0x0400562C RID: 22060
[SerializeField]
private float Cutoff_ = 0.5f;
// Token: 0x0400562D RID: 22061
[SerializeField]
private float Border_Rotate_;
// Token: 0x0400562E RID: 22062
[Range(-1f, 1f)]
[SerializeField]
private float Scrool_Time_ = 1f;
// Token: 0x0400562F RID: 22063
[Range(0f, 5f)]
[SerializeField]
private float Specular_Offset_ = 2.5f;
// Token: 0x04005630 RID: 22064
[Range(0f, 1f)]
[SerializeField]
private float Holo_ = 1.5f;
// Token: 0x04005631 RID: 22065
[SerializeField]
private Texture2D Mask_;
// Token: 0x04005632 RID: 22066
[Range(0f, 5f)]
[SerializeField]
private float Steps_ = 4f;
// Token: 0x04005633 RID: 22067
[SerializeField]
private Texture2D Steps_Tex_;
// Token: 0x04005634 RID: 22068
[Range(0f, 1f)]
[SerializeField]
private float Step_Blend_ = 1f;
// Token: 0x04005635 RID: 22069
[SerializeField]
private float SystemTime_ = 1f;
// Token: 0x04005636 RID: 22070
private Material material_;
// Token: 0x04005637 RID: 22071
private int id_TintColor;
// Token: 0x04005638 RID: 22072
private int id_Exposure;
// Token: 0x04005639 RID: 22073
private int id_Opacity;
// Token: 0x0400563A RID: 22074
private int id_OverExposure_MulToOpacity;
// Token: 0x0400563B RID: 22075
private int id_OverExposure_ClampEmission;
// Token: 0x0400563C RID: 22076
private int id_Tex2;
// Token: 0x0400563D RID: 22077
private int id_Cutoff;
// Token: 0x0400563E RID: 22078
private int id_Border_Rotate;
// Token: 0x0400563F RID: 22079
private int id_Scrool_Time;
// Token: 0x04005640 RID: 22080
private int id_Specular_Offset;
// Token: 0x04005641 RID: 22081
private int id_Holo;
// Token: 0x04005642 RID: 22082
private int id_Mask;
// Token: 0x04005643 RID: 22083
private int id_Steps;
// Token: 0x04005644 RID: 22084
private int id_Steps_Tex;
// Token: 0x04005645 RID: 22085
private int id_Step_Blend;
// Token: 0x04005646 RID: 22086
private int id_SystemTime;
// Token: 0x04005647 RID: 22087
private const HideFlags HideAndDontSave = HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 0466883dc56f09f4cb19564c9a35829b
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,285 @@
using System;
using UnityEngine;
using UnityEngine.UI;
namespace FX
{
// Token: 0x02000764 RID: 1892
[RequireComponent(typeof(Image))]
[ExecuteInEditMode]
public class FX_UI_SummerLine : MonoBehaviour
{
// Token: 0x06003048 RID: 12360 RVA: 0x00102FAC File Offset: 0x00102FAC
private void Start()
{
if (null == this.material_)
{
this.material_ = new Material(this._summerLine_Shader);
this.material_.hideFlags = (HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild);
}
this.reset();
}
// Token: 0x06003049 RID: 12361 RVA: 0x00102FE4 File Offset: 0x00102FE4
private void OnDidApplyAnimationProperties()
{
this.reset();
}
// Token: 0x0600304A RID: 12362 RVA: 0x00102FEC File Offset: 0x00102FEC
private void OnDestroy()
{
if (null != this.material_)
{
UnityEngine.Object.DestroyImmediate(this.material_);
this.material_ = null;
}
}
// Token: 0x0600304B RID: 12363 RVA: 0x00103014 File Offset: 0x00103014
private void reset()
{
Image component = base.transform.GetComponent<Image>();
if (component == null)
{
return;
}
this.initPropertyId();
component.material = this.material_;
component.material.SetFloat(this.id_Opacity, this.Opacity_);
component.material.SetFloat(this.id_Use_Color_BG, (float)(this.Use_Color_BG_ ? 1 : 0));
component.material.SetColor(this.id_Color_A, this.Color_A_);
component.material.SetColor(this.id_Color_B, this.Color_B_);
component.material.SetColor(this.id_Color_C, this.Color_C_);
component.material.SetColor(this.id_Color_D, this.Color_D_);
component.material.SetColor(this.id_Color_E, this.Color_E_);
component.material.SetVector(this.id_ColorA_MinToMax, this.ColorA_MinToMax_);
component.material.SetVector(this.id_ColorB_MinToMax, this.ColorB_MinToMax_);
component.material.SetVector(this.id_ColorC_MinToMax, this.ColorC_MinToMax_);
component.material.SetVector(this.id_ColorD_MinToMax, this.ColorD_MinToMax_);
component.material.SetVector(this.id_ColorE_MinToMax, this.ColorE_MinToMax_);
component.material.SetFloat(this.id_Move_Distance, this.move_Distance_);
component.material.SetFloat(this.id_Move_Speed, this.move_Speed_);
component.material.SetFloat(this.id_Edge_Softness, this.edge_Softness_);
component.material.SetFloat(this.id_All_Polar_Cutout_Angle, this.all_Polar_Cutout_Angle_);
component.material.SetFloat(this.id_All_Polar_Cutout_Reverce, (float)(this.All_Polar_Cutout_Reverce_ ? 1 : 0));
component.material.SetFloat(this.id_All_Radius, this.all_Radius_);
component.material.SetFloat(this.id_All_Thickness, this.all_Thickness_);
component.material.SetFloat(this.id_All_MoonShape, this.all_MoonShape_);
component.material.SetFloat(this.id_All_RotateAngle, this.all_RotateAngle_);
component.material.SetVector(this.id_Offset_Center, this.offset_Center_);
component.material.SetVector(this.id_Offset_Scale, this.offset_Scale_);
}
// Token: 0x0600304C RID: 12364 RVA: 0x0010329C File Offset: 0x0010329C
private void initPropertyId()
{
if (this.id_Opacity != 0)
{
return;
}
this.id_Opacity = Shader.PropertyToID("_Opacity");
this.id_Use_Color_BG = Shader.PropertyToID("_Use_Color_BG");
this.id_Color_A = Shader.PropertyToID("_Color_A");
this.id_Color_B = Shader.PropertyToID("_Color_B");
this.id_Color_C = Shader.PropertyToID("_Color_C");
this.id_Color_D = Shader.PropertyToID("_Color_D");
this.id_Color_E = Shader.PropertyToID("_Color_E");
this.id_ColorA_MinToMax = Shader.PropertyToID("_ColorA_MinToMax");
this.id_ColorB_MinToMax = Shader.PropertyToID("_ColorB_MinToMax");
this.id_ColorC_MinToMax = Shader.PropertyToID("_ColorC_MinToMax");
this.id_ColorD_MinToMax = Shader.PropertyToID("_ColorD_MinToMax");
this.id_ColorE_MinToMax = Shader.PropertyToID("_ColorE_MinToMax");
this.id_Move_Distance = Shader.PropertyToID("_Move_Distance");
this.id_Move_Speed = Shader.PropertyToID("_Move_Speed");
this.id_Edge_Softness = Shader.PropertyToID("_Edge_Softness");
this.id_All_Polar_Cutout_Angle = Shader.PropertyToID("_All_Polar_Cutout_Angle");
this.id_All_Polar_Cutout_Reverce = Shader.PropertyToID("_All_Polar_Cutout_Reverce");
this.id_All_Radius = Shader.PropertyToID("_All_Radius");
this.id_All_Thickness = Shader.PropertyToID("_All_Thickness");
this.id_All_MoonShape = Shader.PropertyToID("_All_MoonShape");
this.id_All_RotateAngle = Shader.PropertyToID("_All_RotateAngle");
this.id_Offset_Center = Shader.PropertyToID("_Offset_Center");
this.id_Offset_Scale = Shader.PropertyToID("_Offset_Scale");
}
// Token: 0x04005648 RID: 22088
[SerializeField]
private Shader _summerLine_Shader;
// Token: 0x04005649 RID: 22089
[Range(0f, 1f)]
[SerializeField]
private float Opacity_ = 1f;
// Token: 0x0400564A RID: 22090
[SerializeField]
private bool Use_Color_BG_;
// Token: 0x0400564B RID: 22091
[SerializeField]
private Color Color_A_ = new Color(0.3924569f, 0.8274511f, 1f, 1f);
// Token: 0x0400564C RID: 22092
[SerializeField]
private Color Color_B_ = new Color(1f, 0.09803922f, 0.6705883f, 1f);
// Token: 0x0400564D RID: 22093
[SerializeField]
private Color Color_C_ = new Color(1f, 0.9450981f, 0f, 1f);
// Token: 0x0400564E RID: 22094
[SerializeField]
private Color Color_D_ = new Color(0.05882353f, 0.6431373f, 0.937255f, 1f);
// Token: 0x0400564F RID: 22095
[SerializeField]
private Color Color_E_ = new Color(0f, 0.9843138f, 0.9960785f, 1f);
// Token: 0x04005650 RID: 22096
[SerializeField]
private Vector2 ColorA_MinToMax_ = new Vector2(0.1f, 0.3f);
// Token: 0x04005651 RID: 22097
[SerializeField]
private Vector2 ColorB_MinToMax_ = new Vector2(0.2f, 0.45f);
// Token: 0x04005652 RID: 22098
[SerializeField]
private Vector2 ColorC_MinToMax_ = new Vector2(0.55f, 0.7f);
// Token: 0x04005653 RID: 22099
[SerializeField]
private Vector2 ColorD_MinToMax_ = new Vector2(0.75f, 0.83f);
// Token: 0x04005654 RID: 22100
[SerializeField]
private Vector2 ColorE_MinToMax_ = new Vector2(0.82f, 0.9f);
// Token: 0x04005655 RID: 22101
[Range(0f, 0.1f)]
[SerializeField]
private float move_Distance_ = 0.1f;
// Token: 0x04005656 RID: 22102
[Range(0f, 1f)]
[SerializeField]
private float move_Speed_ = 0.08f;
// Token: 0x04005657 RID: 22103
[Range(0f, 0.1f)]
[SerializeField]
private float edge_Softness_ = 0.0165f;
// Token: 0x04005658 RID: 22104
[Range(0f, 360f)]
[SerializeField]
private float all_Polar_Cutout_Angle_ = 240f;
// Token: 0x04005659 RID: 22105
[SerializeField]
private bool All_Polar_Cutout_Reverce_;
// Token: 0x0400565A RID: 22106
[Range(-1f, 2f)]
[SerializeField]
private float all_Radius_ = 0.5f;
// Token: 0x0400565B RID: 22107
[Range(0f, 1f)]
[SerializeField]
private float all_Thickness_ = 0.5f;
// Token: 0x0400565C RID: 22108
[Range(-1f, 1f)]
[SerializeField]
private float all_MoonShape_ = 0.25f;
// Token: 0x0400565D RID: 22109
[SerializeField]
private float all_RotateAngle_;
// Token: 0x0400565E RID: 22110
[SerializeField]
private Vector2 offset_Center_ = new Vector2(0f, 0f);
// Token: 0x0400565F RID: 22111
[SerializeField]
private Vector2 offset_Scale_ = new Vector2(1f, 1f);
// Token: 0x04005660 RID: 22112
private Material material_;
// Token: 0x04005661 RID: 22113
private int id_Opacity;
// Token: 0x04005662 RID: 22114
private int id_Use_Color_BG;
// Token: 0x04005663 RID: 22115
private int id_Color_A;
// Token: 0x04005664 RID: 22116
private int id_Color_B;
// Token: 0x04005665 RID: 22117
private int id_Color_C;
// Token: 0x04005666 RID: 22118
private int id_Color_D;
// Token: 0x04005667 RID: 22119
private int id_Color_E;
// Token: 0x04005668 RID: 22120
private int id_ColorA_MinToMax;
// Token: 0x04005669 RID: 22121
private int id_ColorB_MinToMax;
// Token: 0x0400566A RID: 22122
private int id_ColorC_MinToMax;
// Token: 0x0400566B RID: 22123
private int id_ColorD_MinToMax;
// Token: 0x0400566C RID: 22124
private int id_ColorE_MinToMax;
// Token: 0x0400566D RID: 22125
private int id_Move_Distance;
// Token: 0x0400566E RID: 22126
private int id_Move_Speed;
// Token: 0x0400566F RID: 22127
private int id_Edge_Softness;
// Token: 0x04005670 RID: 22128
private int id_All_Polar_Cutout_Angle;
// Token: 0x04005671 RID: 22129
private int id_All_Polar_Cutout_Reverce;
// Token: 0x04005672 RID: 22130
private int id_All_Radius;
// Token: 0x04005673 RID: 22131
private int id_All_Thickness;
// Token: 0x04005674 RID: 22132
private int id_All_MoonShape;
// Token: 0x04005675 RID: 22133
private int id_All_RotateAngle;
// Token: 0x04005676 RID: 22134
private int id_Offset_Center;
// Token: 0x04005677 RID: 22135
private int id_Offset_Scale;
// Token: 0x04005678 RID: 22136
private const HideFlags HideAndDontSave = HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 92d27f3d1e1be0f498d9697342522c6c
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,57 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000762 RID: 1890
public class FX_UVAnimation : MonoBehaviour
{
// Token: 0x0600303F RID: 12351 RVA: 0x00102998 File Offset: 0x00102998
public void Start()
{
this.thisMaterial = base.GetComponent<Renderer>().material;
}
// Token: 0x06003040 RID: 12352 RVA: 0x001029AC File Offset: 0x001029AC
public void Update()
{
this.rate = (this.timeCount - this._timeToStart) / this._timeToGoal;
this.rate = Mathf.Clamp(this.rate, 0f, 1f);
this.resultUV = this._startUVOffset + (this._goalUVOffset - this._startUVOffset) * this.rate;
this.thisMaterial.SetTextureOffset("_MainTex", this.resultUV);
this.timeCount += Time.deltaTime;
}
// Token: 0x0400561D RID: 22045
[Tooltip("アニメーション開始時のUVオフセット")]
[SerializeField]
private Vector2 _startUVOffset;
// Token: 0x0400561E RID: 22046
[Tooltip("アニメーション終了時のUVオフセット")]
[SerializeField]
private Vector2 _goalUVOffset;
// Token: 0x0400561F RID: 22047
[Tooltip("アニメーション開始までのウェイト(秒数)")]
[SerializeField]
private float _timeToStart;
// Token: 0x04005620 RID: 22048
[Tooltip("アニメーション開始から終了までの長さ(秒数)")]
[SerializeField]
private float _timeToGoal;
// Token: 0x04005621 RID: 22049
private Vector2 resultUV;
// Token: 0x04005622 RID: 22050
private Material thisMaterial;
// Token: 0x04005623 RID: 22051
private float timeCount;
// Token: 0x04005624 RID: 22052
private float rate;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 013f3fe32ce04e945901c20eef975325
timeCreated: 1711856756
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,200 @@
using System;
using UnityEngine;
using UnityEngine.UI;
namespace FX
{
// Token: 0x02000765 RID: 1893
[RequireComponent(typeof(Image))]
[ExecuteInEditMode]
public class FX_Unlit_Rate_2Tex_PolarCoordinate : MonoBehaviour
{
// Token: 0x0600304E RID: 12366 RVA: 0x0010348C File Offset: 0x0010348C
private void Start()
{
if (null == this.material_)
{
this.material_ = new Material(this._shader);
this.material_.hideFlags = (HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild);
}
this.reset();
}
// Token: 0x0600304F RID: 12367 RVA: 0x001034C4 File Offset: 0x001034C4
private void OnDidApplyAnimationProperties()
{
this.reset();
}
// Token: 0x06003050 RID: 12368 RVA: 0x001034CC File Offset: 0x001034CC
private void OnDestroy()
{
if (null != this.material_)
{
UnityEngine.Object.DestroyImmediate(this.material_);
this.material_ = null;
}
}
// Token: 0x06003051 RID: 12369 RVA: 0x001034F4 File Offset: 0x001034F4
private void reset()
{
Image component = base.transform.GetComponent<Image>();
if (component == null)
{
return;
}
this.initPropertyId();
component.material = this.material_;
component.material.SetColor(this.id_TintColor, this.TintColor_);
component.material.SetFloat(this.id_Exposure, this.Exposure_);
component.material.SetFloat(this.id_Opacity, this.Opacity_);
component.material.SetFloat(this.id_OverExposure_MulToOpacity, (float)(this.OverExposure_MulToOpacity_ ? 1 : 0));
component.material.SetFloat(this.id_OverExposure_ClampEmission, (float)(this.OverExposure_ClampEmission_ ? 1 : 0));
component.material.SetTexture(this.id_Tex2, this.Tex2_);
component.material.SetFloat(this.id_Switch_uv, (float)(this.Switch_uv_ ? 1 : 0));
component.material.SetFloat(this.id_Exp_Radial_easing, this.Exp_Radial_easing_);
component.material.SetFloat(this.id_Use_CircleMask, (float)(this.Use_CircleMask_ ? 1 : 0));
component.material.SetFloat(this.id_Exp_CircleMask, this.Exp_CircleMask_);
component.material.SetFloat(this.id_Cutoff, this.Cutoff_);
component.material.SetFloat(this.id_Border_Rotate, this.Border_Rotate_);
component.material.SetFloat(this.id_Border_Amount, this.Border_Amount_);
component.material.SetFloat(this.id_Border_Thickness, this.Border_Thickness_);
}
// Token: 0x06003052 RID: 12370 RVA: 0x001036A4 File Offset: 0x001036A4
private void initPropertyId()
{
if (this.id_Opacity != 0)
{
return;
}
this.id_TintColor = Shader.PropertyToID("_TintColor");
this.id_Exposure = Shader.PropertyToID("_Exposure");
this.id_Opacity = Shader.PropertyToID("_Opacity");
this.id_OverExposure_MulToOpacity = Shader.PropertyToID("_OverExposure_MulToOpacity");
this.id_OverExposure_ClampEmission = Shader.PropertyToID("_OverExposure_ClampEmission");
this.id_Tex2 = Shader.PropertyToID("_Tex2");
this.id_Switch_uv = Shader.PropertyToID("_Switch_uv");
this.id_Exp_Radial_easing = Shader.PropertyToID("_Exp_Radial_easing");
this.id_Use_CircleMask = Shader.PropertyToID("_Use_CircleMask");
this.id_Exp_CircleMask = Shader.PropertyToID("_Exp_CircleMask");
this.id_Cutoff = Shader.PropertyToID("_Cutoff");
this.id_Border_Rotate = Shader.PropertyToID("_Border_Rotate");
this.id_Border_Amount = Shader.PropertyToID("_Border_Amount");
this.id_Border_Thickness = Shader.PropertyToID("_Border_Thickness");
}
// Token: 0x04005679 RID: 22137
[SerializeField]
private Shader _shader;
// Token: 0x0400567A RID: 22138
[SerializeField]
private Color TintColor_ = Color.white;
// Token: 0x0400567B RID: 22139
[Range(-20f, 20f)]
[SerializeField]
private float Exposure_;
// Token: 0x0400567C RID: 22140
[SerializeField]
private float Opacity_ = 1f;
// Token: 0x0400567D RID: 22141
[SerializeField]
private bool OverExposure_MulToOpacity_ = true;
// Token: 0x0400567E RID: 22142
[SerializeField]
private bool OverExposure_ClampEmission_ = true;
// Token: 0x0400567F RID: 22143
[SerializeField]
private Texture2D Tex2_;
// Token: 0x04005680 RID: 22144
[SerializeField]
private bool Switch_uv_;
// Token: 0x04005681 RID: 22145
[Range(-5f, 5f)]
[SerializeField]
private float Exp_Radial_easing_;
// Token: 0x04005682 RID: 22146
[SerializeField]
private bool Use_CircleMask_;
// Token: 0x04005683 RID: 22147
[SerializeField]
[Range(-5f, 5f)]
private float Exp_CircleMask_ = -5f;
// Token: 0x04005684 RID: 22148
private float Cutoff_ = 0.5f;
// Token: 0x04005685 RID: 22149
[SerializeField]
private float Border_Rotate_;
// Token: 0x04005686 RID: 22150
[Range(0.0001f, 1f)]
[SerializeField]
private float Border_Amount_ = 0.05f;
// Token: 0x04005687 RID: 22151
[SerializeField]
[Range(0f, 1f)]
private float Border_Thickness_ = 1f;
// Token: 0x04005688 RID: 22152
private Material material_;
// Token: 0x04005689 RID: 22153
private int id_TintColor;
// Token: 0x0400568A RID: 22154
private int id_Exposure;
// Token: 0x0400568B RID: 22155
private int id_Opacity;
// Token: 0x0400568C RID: 22156
private int id_OverExposure_MulToOpacity;
// Token: 0x0400568D RID: 22157
private int id_OverExposure_ClampEmission;
// Token: 0x0400568E RID: 22158
private int id_Tex2;
// Token: 0x0400568F RID: 22159
private int id_Switch_uv;
// Token: 0x04005690 RID: 22160
private int id_Exp_Radial_easing;
// Token: 0x04005691 RID: 22161
private int id_Use_CircleMask;
// Token: 0x04005692 RID: 22162
private int id_Exp_CircleMask;
// Token: 0x04005693 RID: 22163
private int id_Cutoff;
// Token: 0x04005694 RID: 22164
private int id_Border_Rotate;
// Token: 0x04005695 RID: 22165
private int id_Border_Amount;
// Token: 0x04005696 RID: 22166
private int id_Border_Thickness;
// Token: 0x04005697 RID: 22167
private const HideFlags HideAndDontSave = HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 583f1b08bbcb2f0469f560dadedaa637
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,37 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000767 RID: 1895
public class FX_ch_000006 : MonoBehaviour
{
// Token: 0x06003057 RID: 12375 RVA: 0x00103B9C File Offset: 0x00103B9C
private void Start()
{
if (this._skinnedMeshRenderer && this._FX_Prefab && this._FX_Parent)
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this._FX_Prefab);
gameObject.transform.position = this._FX_Parent.transform.position;
gameObject.transform.parent = this._FX_Parent.transform;
FX_ch_000006_ps component = gameObject.GetComponent<FX_ch_000006_ps>();
if (component)
{
component.SetSR(this._skinnedMeshRenderer);
}
}
}
// Token: 0x040056A6 RID: 22182
[SerializeField]
private SkinnedMeshRenderer _skinnedMeshRenderer;
// Token: 0x040056A7 RID: 22183
[SerializeField]
private GameObject _FX_Prefab;
// Token: 0x040056A8 RID: 22184
[SerializeField]
private GameObject _FX_Parent;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 2850cfc0bee8ce34ab28fe82e83c78f6
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,28 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000768 RID: 1896
public class FX_ch_000006_ps : MonoBehaviour
{
// Token: 0x06003059 RID: 12377 RVA: 0x00103C3C File Offset: 0x00103C3C
public void SetSR(SkinnedMeshRenderer skinnedMeshRenderer)
{
for (int i = 0; i < this._particleSystems.Length; i++)
{
if (this._particleSystems[i])
{
ParticleSystem.ShapeModule shape = this._particleSystems[i].shape;
shape.enabled = true;
shape.shapeType = ParticleSystemShapeType.SkinnedMeshRenderer;
shape.skinnedMeshRenderer = skinnedMeshRenderer;
}
}
}
// Token: 0x040056A9 RID: 22185
[SerializeField]
private ParticleSystem[] _particleSystems;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 4d10a7b75bcb97347b1011dafa5118f9
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,93 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000769 RID: 1897
public class FX_ch_002009 : MonoBehaviour
{
// Token: 0x0600305B RID: 12379 RVA: 0x00103CD4 File Offset: 0x00103CD4
private void Start()
{
if (this._parent != null)
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.GenerateObject);
gameObject.transform.position = this._parent.transform.position + gameObject.transform.position;
gameObject.transform.parent = this._parent.transform;
this.animator = gameObject.GetComponent<Animator>();
Renderer component = gameObject.GetComponent<Renderer>();
this._material = ((!(component != null)) ? null : component.material);
this._propertyID_ValueName1 = Shader.PropertyToID(this.valueName1);
this._propertyID_ValueName2 = Shader.PropertyToID(this.valueName2);
}
}
// Token: 0x0600305C RID: 12380 RVA: 0x00103D94 File Offset: 0x00103D94
private void Update()
{
this.talePosition[0] = (this.talePosition[0] + this.previousWorldPosition - base.gameObject.transform.position) * this.sk;
if (Mathf.Abs(this.talePosition[0].x) >= 1f)
{
this.talePosition[0].x = Mathf.Sign(this.talePosition[0].x);
}
this.talePosition[1].x = Mathf.Abs(this.talePosition[0].x) - Mathf.Abs(this.talePosition[1].x);
if (Mathf.Abs(this.talePosition[0].x) <= 0.001f)
{
this.talePosition[0].x = 0f;
}
if (Mathf.Abs(this.talePosition[1].x) <= 0.001f)
{
this.talePosition[1].x = 0f;
}
if (this._material != null)
{
this._material.SetFloat(this._propertyID_ValueName1, this.talePosition[0].x);
this._material.SetFloat(this._propertyID_ValueName2, this.talePosition[1].x);
}
this.previousWorldPosition = base.gameObject.transform.position;
this.talePosition[1] = this.talePosition[0];
}
// Token: 0x0600305D RID: 12381 RVA: 0x00103F6C File Offset: 0x00103F6C
private void TriggerEffectMotion(string _string)
{
this.animator.SetTrigger(_string);
}
// Token: 0x040056AA RID: 22186
[SerializeField]
private GameObject GenerateObject;
// Token: 0x040056AB RID: 22187
[SerializeField]
private GameObject _parent;
// Token: 0x040056AC RID: 22188
private Vector3 previousWorldPosition;
// Token: 0x040056AD RID: 22189
private Vector3[] talePosition = new Vector3[2];
// Token: 0x040056AE RID: 22190
[SerializeField]
private float sk = 0.97f;
// Token: 0x040056AF RID: 22191
private string valueName1 = "_talePosition1";
// Token: 0x040056B0 RID: 22192
private string valueName2 = "_talePosition2";
// Token: 0x040056B1 RID: 22193
private Material _material;
// Token: 0x040056B2 RID: 22194
private int _propertyID_ValueName1;
// Token: 0x040056B3 RID: 22195
private int _propertyID_ValueName2;
// Token: 0x040056B4 RID: 22196
private Animator animator;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 6d6aab9001b63d5428925d5c1daf6efc
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,32 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076A RID: 1898
public class FX_ch_002010 : MonoBehaviour
{
// Token: 0x0600305F RID: 12383 RVA: 0x00103F84 File Offset: 0x00103F84
private void Start()
{
if (this._parent.Length > 0)
{
for (int i = this._parent.Length - 1; i >= 0; i--)
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.GenerateObject);
gameObject.transform.position = this._parent[i].transform.position;
gameObject.transform.parent = this._parent[i].transform;
gameObject.transform.localRotation = this.GenerateObject.transform.localRotation;
}
}
}
// Token: 0x040056B5 RID: 22197
[SerializeField]
private GameObject GenerateObject;
// Token: 0x040056B6 RID: 22198
[SerializeField]
private GameObject[] _parent;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 9b3d1cbcc5a0b45489914fe81fb57aac
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,33 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076B RID: 1899
public class FX_ch_002022 : MonoBehaviour
{
// Token: 0x06003061 RID: 12385 RVA: 0x0010402C File Offset: 0x0010402C
private void Start()
{
this.pID = Shader.PropertyToID(this.valueName);
this.tr = base.GetComponent<Renderer>();
}
// Token: 0x06003062 RID: 12386 RVA: 0x0010404C File Offset: 0x0010404C
private void Update()
{
Vector3 position = base.transform.position;
this.tr.materials[0].SetVector(this.pID, position);
}
// Token: 0x040056B7 RID: 22199
private int pID;
// Token: 0x040056B8 RID: 22200
private Renderer tr;
// Token: 0x040056B9 RID: 22201
[SerializeField]
private string valueName = "_AbsPos";
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: f47c9de1895610b42813066486c0be28
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,50 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076C RID: 1900
public class FX_ch_035001 : MonoBehaviour
{
// Token: 0x06003064 RID: 12388 RVA: 0x0010408C File Offset: 0x0010408C
private void Start()
{
if (this._parent.Length > 0)
{
for (int i = 0; i < this._parent.Length; i++)
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this.GenerateObject);
gameObject.transform.position = this._parent[i].transform.position;
gameObject.transform.parent = this._parent[i].transform;
gameObject.transform.localRotation = this.GenerateObject.transform.localRotation;
}
}
}
// Token: 0x06003065 RID: 12389 RVA: 0x0010411C File Offset: 0x0010411C
private void Update()
{
GetAllChildren.MapComponentsInChildren<FX_ch_035001_Trail>(base.transform, delegate(FX_ch_035001_Trail targetComponent)
{
if (null == targetComponent)
{
return;
}
targetComponent.value = this._value;
});
}
// Token: 0x040056BA RID: 22202
[SerializeField]
private GameObject GenerateObject;
// Token: 0x040056BB RID: 22203
[SerializeField]
private GameObject[] _parent;
// Token: 0x040056BC RID: 22204
[SerializeField]
[Range(0f, 1f)]
private float _value;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 69d0cd0e17b82f849b762cf368555338
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,46 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076D RID: 1901
public class FX_ch_035001_Trail : MonoBehaviour
{
// Token: 0x06003068 RID: 12392 RVA: 0x00104180 File Offset: 0x00104180
private void Start()
{
this.pID = Shader.PropertyToID(this.valueName);
this.pID2 = Shader.PropertyToID(this.valueName2);
this.tr = base.GetComponent<TrailRenderer>();
}
// Token: 0x06003069 RID: 12393 RVA: 0x001041B0 File Offset: 0x001041B0
private void Update()
{
this.tr.materials[0].SetFloat(this.pID, this.value);
float x = base.transform.position.x;
this.tr.materials[0].SetFloat(this.pID2, x);
}
// Token: 0x040056BD RID: 22205
private int pID;
// Token: 0x040056BE RID: 22206
private int pID2;
// Token: 0x040056BF RID: 22207
private TrailRenderer tr;
// Token: 0x040056C0 RID: 22208
[NonSerialized]
public float value = 1f;
// Token: 0x040056C1 RID: 22209
[SerializeField]
private string valueName = "_Opacity";
// Token: 0x040056C2 RID: 22210
[SerializeField]
private string valueName2 = "_AbsPosX";
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: ebaf04af715f2a642840773ab9f800f1
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,95 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076E RID: 1902
public class FX_we_000006 : MonoBehaviour
{
// Token: 0x0600306B RID: 12395 RVA: 0x00104210 File Offset: 0x00104210
private void SwitchCards(string tempCard)
{
if (tempCard != null)
{
if (tempCard == "off")
{
this._mesh_card.enabled = true;
this._mesh_illust.enabled = true;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
return;
}
if (tempCard == "turn")
{
this.passedBattlestart = 1;
this._mesh_card.enabled = false;
this._mesh_illust.enabled = false;
this._mesh_card_Temp.enabled = true;
this._mesh_illust_Temp.enabled = true;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
return;
}
if (tempCard == "battlestart")
{
this._mesh_card.enabled = false;
this._mesh_illust.enabled = false;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = true;
this._mesh_illust_Temp2.enabled = true;
return;
}
if (tempCard == "skipped_wait")
{
if (this.passedBattlestart == 1)
{
this.passedBattlestart = 0;
this._mesh_card.enabled = true;
this._mesh_illust.enabled = true;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
}
return;
}
}
this._mesh_card.enabled = true;
this._mesh_illust.enabled = true;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
}
// Token: 0x040056C3 RID: 22211
[SerializeField]
private SkinnedMeshRenderer _mesh_card;
// Token: 0x040056C4 RID: 22212
[SerializeField]
private SkinnedMeshRenderer _mesh_illust;
// Token: 0x040056C5 RID: 22213
[SerializeField]
private MeshRenderer _mesh_card_Temp;
// Token: 0x040056C6 RID: 22214
[SerializeField]
private MeshRenderer _mesh_illust_Temp;
// Token: 0x040056C7 RID: 22215
[SerializeField]
private MeshRenderer _mesh_card_Temp2;
// Token: 0x040056C8 RID: 22216
[SerializeField]
private MeshRenderer _mesh_illust_Temp2;
// Token: 0x040056C9 RID: 22217
private int passedBattlestart;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 45bca0bb92e2bd245a25216d27e1116d
timeCreated: 1711856757
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,88 @@
using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076F RID: 1903
public class FX_we_001012 : MonoBehaviour
{
// Token: 0x0600306D RID: 12397 RVA: 0x0010440C File Offset: 0x0010440C
private void Start()
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012_1);
gameObject.transform.position = this._sw_1_weapon_b.position;
this.animator_1 = gameObject.GetComponent<Animator>();
gameObject.transform.parent = this._sw_1_weapon_b;
GameObject gameObject2 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject2.transform.position = this._sw_2_weapon_b.position;
this.animator_2 = gameObject2.GetComponent<Animator>();
gameObject2.transform.parent = this._sw_2_weapon_b;
GameObject gameObject3 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject3.transform.position = this._sw_3_weapon_b.position;
this.animator_3 = gameObject3.GetComponent<Animator>();
gameObject3.transform.parent = this._sw_3_weapon_b;
GameObject gameObject4 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject4.transform.position = this._sw_4_weapon_b.position;
this.animator_4 = gameObject4.GetComponent<Animator>();
gameObject4.transform.parent = this._sw_4_weapon_b;
GameObject gameObject5 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject5.transform.position = this._sw_5_weapon_b.position;
this.animator_5 = gameObject5.GetComponent<Animator>();
gameObject5.transform.parent = this._sw_5_weapon_b;
}
// Token: 0x0600306E RID: 12398 RVA: 0x00104558 File Offset: 0x00104558
private void Update()
{
if (this.count >= 120f)
{
this.animator_1.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_2.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_3.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_4.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_5.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.count = 0f;
}
this.count += Time.deltaTime * 60f;
}
// Token: 0x040056CA RID: 22218
public GameObject _fX_we_001012;
// Token: 0x040056CB RID: 22219
public GameObject _fX_we_001012_1;
// Token: 0x040056CC RID: 22220
public Transform _sw_1_weapon_b;
// Token: 0x040056CD RID: 22221
public Transform _sw_2_weapon_b;
// Token: 0x040056CE RID: 22222
public Transform _sw_3_weapon_b;
// Token: 0x040056CF RID: 22223
public Transform _sw_4_weapon_b;
// Token: 0x040056D0 RID: 22224
public Transform _sw_5_weapon_b;
// Token: 0x040056D1 RID: 22225
private float count;
// Token: 0x040056D2 RID: 22226
private Animator animator_1;
// Token: 0x040056D3 RID: 22227
private Animator animator_2;
// Token: 0x040056D4 RID: 22228
private Animator animator_3;
// Token: 0x040056D5 RID: 22229
private Animator animator_4;
// Token: 0x040056D6 RID: 22230
private Animator animator_5;
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a5d99f123ce4ac64481a86d280167bd3
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,78 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FX
{
// Token: 0x02000770 RID: 1904
public static class GetAllChildren
{
// Token: 0x0600306F RID: 12399 RVA: 0x00104638 File Offset: 0x00104638
public static List<GameObject> GetAll(this GameObject obj)
{
List<GameObject> result = new List<GameObject>();
GetAllChildren.GetChildren(obj, ref result);
return result;
}
// Token: 0x06003070 RID: 12400 RVA: 0x00104654 File Offset: 0x00104654
public static void GetChildren(GameObject obj, ref List<GameObject> allChildren)
{
Transform componentInChildren = obj.GetComponentInChildren<Transform>();
if (componentInChildren.childCount == 0)
{
return;
}
IEnumerator enumerator = componentInChildren.GetEnumerator();
try
{
while (enumerator.MoveNext())
{
object obj2 = enumerator.Current;
Transform transform = (Transform)obj2;
allChildren.Add(transform.gameObject);
GetAllChildren.GetChildren(transform.gameObject, ref allChildren);
}
}
finally
{
IDisposable disposable;
if ((disposable = (enumerator as IDisposable)) != null)
{
disposable.Dispose();
}
}
}
// Token: 0x06003071 RID: 12401 RVA: 0x001046DC File Offset: 0x001046DC
public static void GetComponentsInChildren<T>(Transform trans, List<T> components) where T : class
{
for (int i = 0; i < trans.childCount; i++)
{
Transform child = trans.GetChild(i);
T component = child.GetComponent<T>();
if (component != null)
{
components.Add(component);
}
GetAllChildren.GetComponentsInChildren<T>(child, components);
}
}
// Token: 0x06003072 RID: 12402 RVA: 0x00104728 File Offset: 0x00104728
public static void MapComponentsInChildren<T>(Transform trans, Action<T> func) where T : class
{
for (int i = 0; i < trans.childCount; i++)
{
Transform child = trans.GetChild(i);
T component = child.GetComponent<T>();
if (component != null)
{
func(component);
}
GetAllChildren.MapComponentsInChildren<T>(child, func);
}
}
}
}

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: df165315ba5cd6045b3c556d54bbda3c
timeCreated: 1711856758
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save