移除Feel,自定义动画参数实装
This commit is contained in:
@@ -193,6 +193,11 @@ namespace Ichni
|
||||
timeHost.timeDurationSubmodule?.UpdateTimeDuration(songTime);
|
||||
}
|
||||
|
||||
if(element is IHaveDirtyMarkSubmodule dirtyHost)
|
||||
{
|
||||
dirtyHost.dirtyMarkSubmodule?.ExecuteDeferredRefresh();
|
||||
}
|
||||
|
||||
if (element.gameObject.activeSelf)
|
||||
{
|
||||
if (element is IHaveTransformSubmodule transformHost)
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Ichni.Editor
|
||||
{
|
||||
#region [ISongTimeProvider 实现] ISongTimeProvider Implementation
|
||||
/// <summary>当前播放进度(秒),已扣除 offset,供 CoreServices.TimeProvider 使用</summary>
|
||||
public float SongTime => EditorManager.instance.songInformation.songTime;
|
||||
public float SongTime => EditorManager.instance != null ? EditorManager.instance.songInformation.songTime : 0;
|
||||
|
||||
/// <summary>当前是否正在播放</summary>
|
||||
public bool IsPlaying => isPlaying;
|
||||
@@ -25,6 +25,10 @@ namespace Ichni.Editor
|
||||
public bool isPlaying;
|
||||
public AudioSource audioSource;
|
||||
private float DspTime => (float)AudioSettings.dspTime;
|
||||
|
||||
public AudioHighPassFilter highPassFilter;
|
||||
public AudioLowPassFilter lowPassFilter;
|
||||
|
||||
#endregion
|
||||
|
||||
#region [生命周期] Lifecycle
|
||||
|
||||
Reference in New Issue
Block a user