@@ -37,25 +37,27 @@ Material:
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 1
|
||||
- _AlphaCutoff: 0.5
|
||||
- _Opacity: 1
|
||||
- _Opacity: 2.03
|
||||
- _QueueControl: 0
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _count: 8
|
||||
- _cube_radius: 0.033
|
||||
- _XRMotionVectorsPass: 1
|
||||
- _count: 6
|
||||
- _cube_radius: 0
|
||||
- _cube_softness: 0
|
||||
- _cube_width: 0.05
|
||||
- _gap_softness: 0
|
||||
- _gapsize: 0.5
|
||||
- _ring_radius: 0.5
|
||||
- _cube_width: 0.1
|
||||
- _gap_softness: 0.48
|
||||
- _gapsize: 0.46
|
||||
- _ring_radius: 0.73
|
||||
- _ring_rotation: 0
|
||||
- _ring_rotation_angle: 0
|
||||
- _ring_softness: 0
|
||||
- _ring_width: 0.01
|
||||
- _ring_width: 0.1
|
||||
m_Colors:
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ImageColor: {r: 2, g: 2, b: 2, a: 1}
|
||||
- _ImageColor: {r: 0.7490196, g: 0.7490196, b: 0.7490196, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &2669937578497038573
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
39315
Assets/FR2_Cache.asset
39315
Assets/FR2_Cache.asset
File diff suppressed because it is too large
Load Diff
@@ -9846,6 +9846,7 @@ MonoBehaviour:
|
||||
isSwitchingReturnType: 0
|
||||
lastReturnType: 0
|
||||
returnType: 0
|
||||
EffectMaterial: {fileID: 0}
|
||||
--- !u!95 &5521744977626316896
|
||||
Animator:
|
||||
serializedVersion: 7
|
||||
|
||||
@@ -17,16 +17,19 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
public GameObject trailBody;
|
||||
public List<Renderer> renderers = new List<Renderer>();
|
||||
public bool isHeadEnabled;
|
||||
|
||||
|
||||
public TrailRenderer trailRenderer { get; set; }
|
||||
public AnimationCurve widthCurve; //trailBody的宽度曲线,默认为常数0.5。
|
||||
public Gradient trailAlphaGradient; //trailBody的渐变,只控制Alpha,默认为1,Color必须为白色。
|
||||
|
||||
|
||||
public FlexibleFloat visibleTimeLength; //trailBody的可见时间长度,如果没有动画,则默认为1秒。
|
||||
public FlexibleBool enableTimes; // headPoint和headCircle的启用/禁用时间,如果没有动画,则一直禁用。
|
||||
public float enableProcessTime = 0.5f; // headPoint,headCircle的启用/禁用过程时间,默认为0.5秒,启用完成后,sparks开启,禁用开始时,sparks关闭。
|
||||
public float headSize = 1f; // headPoint和headCircle的目标大小,默认为1。
|
||||
public FlexibleFloat headRotateSpeed; // headCircle的旋转速度(Particle.rotationOverLifetime的angular velocity)
|
||||
|
||||
public Material EffectMaterial;
|
||||
|
||||
float IHaveTrail.visibleTimeLength
|
||||
{
|
||||
get => visibleTimeLength.animations.Count > 0 ? visibleTimeLength.value : 5f;
|
||||
@@ -71,8 +74,8 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
dtmTrail.widthCurve = widthCurve ?? DefaultWidthCurve();
|
||||
dtmTrail.trailAlphaGradient = trailGradient ?? DefaultTrailGradient();
|
||||
|
||||
if(isFirstGenerated) dtmTrail.AfterInitialize();
|
||||
|
||||
if (isFirstGenerated) dtmTrail.AfterInitialize();
|
||||
|
||||
return dtmTrail;
|
||||
}
|
||||
|
||||
@@ -117,7 +120,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
{
|
||||
rend.InitializeShader();
|
||||
}
|
||||
|
||||
|
||||
sparks.gameObject.SetActive(false);
|
||||
headPoint.transform.localScale = Vector3.zero;
|
||||
headCircle.transform.localScale = Vector3.zero;
|
||||
@@ -215,8 +218,8 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用 baseColor 作为固定颜色,从 alphaSource 中提取 Alpha 曲线,合成最终的 TrailRenderer Gradient
|
||||
/// </summary>
|
||||
@@ -266,7 +269,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
trailRenderer.time = visibleTimeLength.value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private Sequence enableHeadSequence;
|
||||
private Sequence disableHeadSequence;
|
||||
private Sequence headBounceSequence;
|
||||
@@ -288,7 +291,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
disableHeadSequence.Join(headCircle.transform.DOScale(0, enableProcessTime).SetEase(Ease.OutQuad));
|
||||
disableHeadSequence.Play();
|
||||
}
|
||||
|
||||
|
||||
public void TriggerInteraction()
|
||||
{
|
||||
headBounceSequence = DOTween.Sequence();
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
}
|
||||
},
|
||||
"com.unity.2d.animation": {
|
||||
"version": "13.0.4",
|
||||
"version": "13.0.5",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.2d.common": "12.0.2",
|
||||
"com.unity.2d.common": "12.0.3",
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.collections": "2.4.3",
|
||||
"com.unity.modules.animation": "1.0.0",
|
||||
@@ -23,11 +23,11 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.aseprite": {
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.2d.common": "12.0.1",
|
||||
"com.unity.2d.common": "12.0.3",
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.2d.tilemap": "1.0.0",
|
||||
"com.unity.mathematics": "1.2.6",
|
||||
@@ -36,7 +36,7 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.common": {
|
||||
"version": "12.0.2",
|
||||
"version": "12.0.3",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
@@ -60,11 +60,11 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.psdimporter": {
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.2d.common": "12.0.1",
|
||||
"com.unity.2d.common": "12.0.3",
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.2d.tilemap": "1.0.0"
|
||||
},
|
||||
@@ -97,7 +97,7 @@
|
||||
}
|
||||
},
|
||||
"com.unity.2d.tilemap.extras": {
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.2",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
@@ -108,11 +108,11 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.2d.tooling": {
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.2d.common": "12.0.2",
|
||||
"com.unity.2d.common": "12.0.3",
|
||||
"com.unity.modules.uielements": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
@@ -172,15 +172,15 @@
|
||||
"depth": 0,
|
||||
"source": "builtin",
|
||||
"dependencies": {
|
||||
"com.unity.2d.animation": "13.0.4",
|
||||
"com.unity.2d.animation": "13.0.5",
|
||||
"com.unity.2d.pixel-perfect": "5.1.1",
|
||||
"com.unity.2d.psdimporter": "12.0.1",
|
||||
"com.unity.2d.psdimporter": "12.0.2",
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.2d.spriteshape": "13.0.0",
|
||||
"com.unity.2d.tilemap": "1.0.0",
|
||||
"com.unity.2d.tilemap.extras": "6.0.1",
|
||||
"com.unity.2d.aseprite": "3.0.1",
|
||||
"com.unity.2d.tooling": "1.0.2"
|
||||
"com.unity.2d.tilemap.extras": "6.0.2",
|
||||
"com.unity.2d.aseprite": "3.0.2",
|
||||
"com.unity.2d.tooling": "1.0.3"
|
||||
}
|
||||
},
|
||||
"com.unity.ide.rider": {
|
||||
|
||||
Reference in New Issue
Block a user