更新
This commit is contained in:
@@ -34,15 +34,9 @@ public partial class BasePrefabsCollection : SerializedScriptableObject
|
||||
public GameObject areaHint;
|
||||
public GameObject triggerHint;
|
||||
|
||||
[Title("Effect相关")] public Material defaultParticleMaterial;
|
||||
[Title("Effect相关")]
|
||||
public Material defaultParticleMaterial;
|
||||
public GameObject particleEmitter;
|
||||
public GameObject bloomEffect;
|
||||
public GameObject cameraShakeEffect;
|
||||
public GameObject cameraZoomEffect;
|
||||
public GameObject chromaticAberrationEffect;
|
||||
public GameObject vignetteEffect;
|
||||
public GameObject lowPassFilterEffect;
|
||||
public GameObject highPassFilterEffect;
|
||||
|
||||
[Title("Background相关")] public Sprite defaultBackground;
|
||||
public Material defaultSkyboxMaterial;
|
||||
@@ -69,7 +63,7 @@ public partial class BasePrefabsCollection
|
||||
{
|
||||
foreach (KeyValuePair<string, Event> sound in noteSounds)
|
||||
{
|
||||
AkSoundEngine.PrepareEvent(AkPreparationType.Preparation_Load, new uint[] { sound.Value.PlayingId }, 1);
|
||||
AkUnitySoundEngine.PrepareEvent(AkPreparationType.Preparation_Load, new uint[] { sound.Value.PlayingId }, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41,6 +41,10 @@ namespace Ichni
|
||||
public BasePrefabsCollection basePrefabs;
|
||||
public Dictionary<string, CustomPrefabsCollection> customPrefabs;
|
||||
|
||||
public List<IHaveTransformSubmodule> activeTransformSubmodules = new List<IHaveTransformSubmodule>();
|
||||
public List<IHaveColorSubmodule> activeColorSubmodules = new List<IHaveColorSubmodule>();
|
||||
public List<IHaveDirtyMarkSubmodule> activeDirtyMarkSubmodules = new List<IHaveDirtyMarkSubmodule>();
|
||||
|
||||
[Title("UI")]
|
||||
public Canvas judgeHintCanvas;
|
||||
public GameUICanvas gameUICanvas;
|
||||
@@ -88,6 +92,21 @@ namespace Ichni
|
||||
|
||||
trackManager.ManualLateUpdate(SongTime);
|
||||
noteManager.ManualLateUpdate(SongTime);
|
||||
|
||||
for(int i = 0; i < activeColorSubmodules.Count; i++)
|
||||
{
|
||||
activeColorSubmodules[i].UpdateColor(true);
|
||||
}
|
||||
|
||||
for(int i = 0; i < activeTransformSubmodules.Count; i++)
|
||||
{
|
||||
activeTransformSubmodules[i].UpdateTransform(true);
|
||||
}
|
||||
|
||||
for(int i = 0; i < activeDirtyMarkSubmodules.Count; i++)
|
||||
{
|
||||
activeDirtyMarkSubmodules[i].dirtyMarkSubmodule.ExecuteDeferredRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user