Cutscene sytstem
This commit is contained in:
22
Runtime/PSXCutsceneTrack.cs
Normal file
22
Runtime/PSXCutsceneTrack.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SplashEdit.RuntimeCode
|
||||
{
|
||||
/// <summary>
|
||||
/// A single track within a cutscene, driving one property on one target.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class PSXCutsceneTrack
|
||||
{
|
||||
[Tooltip("What property this track drives.")]
|
||||
public PSXTrackType TrackType;
|
||||
|
||||
[Tooltip("Target GameObject name (must match a PSXObjectExporter). Leave empty for camera tracks.")]
|
||||
public string ObjectName = "";
|
||||
|
||||
[Tooltip("Keyframes for this track. Sort by frame number.")]
|
||||
public List<PSXKeyframe> Keyframes = new List<PSXKeyframe>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user