同步
This commit is contained in:
@@ -7,7 +7,6 @@ namespace Ichni.RhythmGame
|
||||
public class ChromaticAberrationEffect : EffectBase
|
||||
{
|
||||
#region [效果参数] Effect Parameters
|
||||
public float duration;
|
||||
public float peak;
|
||||
public AnimationCurve intensityCurve;
|
||||
|
||||
@@ -16,10 +15,10 @@ namespace Ichni.RhythmGame
|
||||
#endregion
|
||||
|
||||
#region [初始化] Initialization
|
||||
public ChromaticAberrationEffect(float duration, float peak, AnimationCurve intensityCurve)
|
||||
: base(duration) // 【修改1】调用基类含时构造,将 effectTime 赋为 duration,激活时长逻辑
|
||||
public ChromaticAberrationEffect(float effectTime, float peak, AnimationCurve intensityCurve)
|
||||
: base(effectTime) // 【修改1】调用基类含时构造,将 effectTime 赋为 duration,激活时长逻辑
|
||||
{
|
||||
this.duration = duration;
|
||||
this.effectTime = effectTime;
|
||||
this.peak = peak;
|
||||
this.intensityCurve = intensityCurve;
|
||||
}
|
||||
@@ -67,3 +66,5 @@ namespace Ichni.RhythmGame
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user