fix: change crossfade curve
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
-3
@@ -1,17 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6bb3e45fc3d534bf9ad4842eb3b2cfdd
|
||||
guid: c084ace48a6004923bb9d762a2a31908
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 7
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 2
|
||||
sampleRateOverride: 44100
|
||||
compressionFormat: 1
|
||||
quality: 0.13
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
preloadAudioData: 0
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 1
|
||||
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6f16847f355c146d4a93c6199bae1e22
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 7
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 2
|
||||
sampleRateOverride: 44100
|
||||
compressionFormat: 1
|
||||
quality: 0.13
|
||||
conversionMode: 0
|
||||
preloadAudioData: 0
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 1
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -2827,7 +2827,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 5ce1f814dd5d46d48bc33c18ba11c44c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
startWithMusic: 0
|
||||
startWithMusic: 1
|
||||
logLevel: 0
|
||||
--- !u!4 &2093584671
|
||||
Transform:
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace OCES.Audio
|
||||
continue;
|
||||
|
||||
src.volume = fromVolume;
|
||||
src.DOFade(0f, duration - elapsed).SetEase(Ease.Linear);
|
||||
src.DOFade(0f, duration - elapsed).SetEase(Ease.InSine); //TODO 支持读表
|
||||
}
|
||||
yield return null;
|
||||
}
|
||||
@@ -203,7 +203,7 @@ namespace OCES.Audio
|
||||
if (DOTween.IsTweening(src))
|
||||
continue;
|
||||
src.volume = 0f;
|
||||
src.DOFade(1f, duration - elapsed).SetEase(Ease.Linear);
|
||||
src.DOFade(1f, duration - elapsed).SetEase(Ease.OutSine); //TODO 支持读表
|
||||
}
|
||||
|
||||
yield return null;
|
||||
|
||||
Reference in New Issue
Block a user