Cutscene sytstem
This commit is contained in:
@@ -37,6 +37,10 @@ namespace SplashEdit.RuntimeCode
|
||||
[Tooltip("Exterior uses BVH frustum culling. Interior uses room/portal occlusion.")]
|
||||
public int SceneType = 0; // 0=exterior, 1=interior
|
||||
|
||||
[Header("Cutscenes")]
|
||||
[Tooltip("Cutscene clips to include in this scene's splashpack. Only these will be exported.")]
|
||||
public PSXCutsceneClip[] Cutscenes = new PSXCutsceneClip[0];
|
||||
|
||||
private PSXObjectExporter[] _exporters;
|
||||
private TextureAtlas[] _atlases;
|
||||
|
||||
@@ -254,6 +258,8 @@ namespace SplashEdit.RuntimeCode
|
||||
fogEnabled = FogEnabled,
|
||||
fogColor = FogColor,
|
||||
fogDensity = FogDensity,
|
||||
cutscenes = Cutscenes,
|
||||
audioSources = _audioSources,
|
||||
};
|
||||
|
||||
PSXSceneWriter.Write(path, in scene, (msg, type) =>
|
||||
|
||||
Reference in New Issue
Block a user