Add Live Effect track (track ID 60) implementation
- LiveTimelineEffectData.cs: new data class with full field set
(color, offset, owner, occurrenceSpot, IsLinkOwner*, etc.)
derived from actual cutt asset bundle TypeTree dump
- LiveTimelineWorkSheet: add effectList field
- LiveTimelineControl: add OnUpdateEffect event and AlterUpdate_EffectControl
- Director: add OnEffectUpdate handler and ApplyEffectTransform helper
loads prefab from 3d/effect/live/pfb_{name}, instantiates per key frame
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+43
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyEffectData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Color color;
|
||||
public float colorPower;
|
||||
public int ColorProperty;
|
||||
public int owner;
|
||||
public int occurrenceSpot;
|
||||
public string ParentStageObjectName;
|
||||
public bool IsAttachProps;
|
||||
public int PropsIndex;
|
||||
public Vector3 offset;
|
||||
public Vector3 offsetAngle;
|
||||
public Vector3 offsetScale;
|
||||
public string BlinkLightName;
|
||||
public int BlinkLightNameHash;
|
||||
public int BlinkLightContainerIndex;
|
||||
public float BlinkLightBrightnessPower;
|
||||
public bool IsAdjustedBlinkLightColor;
|
||||
public bool IsSyncBlinkLight;
|
||||
public bool IsLinkOwnerPositionX;
|
||||
public bool IsLinkOwnerPositionY;
|
||||
public bool IsLinkOwnerPositionZ;
|
||||
public bool IsLinkOwnerRotate;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyEffectDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyEffectData>
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineEffectData : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string default_name = "Effect";
|
||||
public LiveTimelineKeyEffectDataList keys;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user