add live select pannel
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyA2UConfigData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public A2U.Blend blend;
|
||||
|
||||
public A2U.Order order = A2U.Order.PostImageEffect;
|
||||
|
||||
public bool enable = true;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.A2UConfig;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33fad29d6c07d7b4f97bf4da7aa5467c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyA2UData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Color spriteColor = Color.white;
|
||||
|
||||
public Vector2 position = new Vector2(0f, 0f);
|
||||
|
||||
public Vector2 scale = new Vector2(1f, 1f);
|
||||
|
||||
public float rotationZ;
|
||||
|
||||
public int textureIndex;
|
||||
|
||||
public int appearanceRandomSeed = 123456789;
|
||||
|
||||
public float spriteAppearance = 1f;
|
||||
|
||||
public int slopeRandomSeed = 123456789;
|
||||
|
||||
public float spriteMinSlope;
|
||||
|
||||
public float spriteMaxSlope;
|
||||
|
||||
public float spriteScale = 1f;
|
||||
|
||||
public float spriteOpacity = 1f;
|
||||
|
||||
public float startSec;
|
||||
|
||||
public float speed = 1f;
|
||||
|
||||
public bool isFlick = true;
|
||||
|
||||
public bool enable = true;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.A2U;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7c29a547b964a04e9784a5641557a0c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyAnimationData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public int animationID;
|
||||
|
||||
public WrapMode wrapMode;
|
||||
|
||||
public float speed = 1f;
|
||||
|
||||
public float offsetTime;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Animation;
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c8e4ae8798d65df4abb4260f7dc4c832
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyBgColor1Data : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Color color = Color.white;
|
||||
|
||||
public float f32;
|
||||
|
||||
public int flags;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.BgColor1;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: de99f5da6e50a1646921ff7da284ec2b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyBgColor2Data : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Color color1 = Color.white;
|
||||
|
||||
public Color color2 = Color.white;
|
||||
|
||||
public float f32;
|
||||
|
||||
public bool manualAngle;
|
||||
|
||||
public Vector3 angle = Vector3.zero;
|
||||
|
||||
[NonSerialized]
|
||||
public Quaternion manualRotation = Quaternion.identity;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.BgColor2;
|
||||
|
||||
public int RandomTableIndex()
|
||||
{
|
||||
return attribute.GetHighWord();
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b69330ec7cf2b2047a78de5d30ee6fa4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyBgColor3Data : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Color[] _colorArray;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.BgColor3;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d695a37db9cf3ea49a5195a10874c05d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCameraFovData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public LiveCameraFovType fovType;
|
||||
|
||||
public float fov = 30f;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraFov;
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3d8e6fc3d67909a4a9818b399fcbdf31
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCameraLayerData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Vector3 layerOffset = Vector3.zero;
|
||||
|
||||
public bool extraCamera;
|
||||
|
||||
public Vector3 extraCameraLayerOffset = Vector3.zero;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraLayer;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4ed87a68140578b428c691a0cc0b2dd9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCameraLookAtData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public LiveCameraLookAtType lookAtType;
|
||||
|
||||
public LiveCharaPositionFlag lookAtCharaPos = LiveCharaPositionFlag.Center;
|
||||
|
||||
public LiveCameraLookAtCharaParts lookAtCharaParts = LiveCameraLookAtCharaParts.ConstHeightFace;
|
||||
|
||||
[NonSerialized]
|
||||
public Transform lookAtTransform;
|
||||
|
||||
public string lookAtTransformName = "";
|
||||
|
||||
public Vector3 rotation = Vector3.forward;
|
||||
|
||||
public float eyeLength = 10f;
|
||||
|
||||
public Vector3 offset = Vector3.zero;
|
||||
|
||||
public Vector3[] bezierPoints;
|
||||
|
||||
public float traceSpeed = 0.1f;
|
||||
|
||||
public bool newBezierCalcMethod;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraLookAt;
|
||||
|
||||
public bool necessaryToUseNewBezierCalcMethod
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!newBezierCalcMethod)
|
||||
{
|
||||
return GetBezierPointCount() > 3;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
if (lookAtType == LiveCameraLookAtType.Locator && !string.IsNullOrEmpty(lookAtTransformName))
|
||||
{
|
||||
lookAtTransform = timelineControl.FindLookAtLocator(lookAtTransformName);
|
||||
_ = lookAtTransform == null;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsDelay()
|
||||
{
|
||||
return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayEnable);
|
||||
}
|
||||
|
||||
public bool IsDelayContinuous()
|
||||
{
|
||||
return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayInherit);
|
||||
}
|
||||
|
||||
public bool HasBezier()
|
||||
{
|
||||
if (bezierPoints != null)
|
||||
{
|
||||
return bezierPoints.Length != 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetBezierPointCount()
|
||||
{
|
||||
if (!HasBezier())
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return bezierPoints.Length;
|
||||
}
|
||||
|
||||
public Vector3 GetBezierPoint(int index, LiveTimelineControl timelineControl, Vector3 camPos)
|
||||
{
|
||||
if (HasBezier() && index < bezierPoints.Length)
|
||||
{
|
||||
return GetValue(timelineControl, camPos) + bezierPoints[index];
|
||||
}
|
||||
return GetValue(timelineControl, camPos) + Vector3.zero;
|
||||
}
|
||||
|
||||
public void GetBezierPoints(LiveTimelineControl timelineControl, Vector3 camPos, Vector3[] outPoints, int startIndex)
|
||||
{
|
||||
if (HasBezier())
|
||||
{
|
||||
int num = Mathf.Min(outPoints.Length, bezierPoints.Length);
|
||||
Vector3 value = GetValue(timelineControl, camPos);
|
||||
for (int i = 0; i < num; i++)
|
||||
{
|
||||
outPoints[startIndex + i] = value + bezierPoints[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual Vector3 GetValue(LiveTimelineControl timelineControl, Vector3 camPos)
|
||||
{
|
||||
return GetValue(timelineControl, lookAtType, camPos, containOffset: true);
|
||||
}
|
||||
|
||||
protected virtual Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraLookAtType type, Vector3 camPos, bool containOffset)
|
||||
{
|
||||
Vector3 vector = Vector3.zero;
|
||||
switch (type)
|
||||
{
|
||||
case LiveCameraLookAtType.Locator:
|
||||
if (lookAtTransform != null)
|
||||
{
|
||||
vector = lookAtTransform.position;
|
||||
}
|
||||
break;
|
||||
case LiveCameraLookAtType.Character:
|
||||
vector = timelineControl.GetPositionWithCharacters(lookAtCharaPos, lookAtCharaParts);
|
||||
break;
|
||||
case LiveCameraLookAtType.Rotation:
|
||||
{
|
||||
Vector3 vector2 = Quaternion.Euler(rotation) * Vector3.forward * eyeLength;
|
||||
vector = camPos + vector2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!containOffset)
|
||||
{
|
||||
return vector;
|
||||
}
|
||||
return vector + offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dddd2012f3c352842a8e377ee5d271ed
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+288
@@ -0,0 +1,288 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCameraPositionData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public enum CullingLayer
|
||||
{
|
||||
TransparentFX = 1,
|
||||
Background3D_NotReflect = 2,
|
||||
Background3d = 4,
|
||||
Character3d = 8,
|
||||
Character3d_0 = 0x10,
|
||||
Character3d_1 = 0x20,
|
||||
Character3d_2 = 0x40,
|
||||
Character3d_3 = 0x80,
|
||||
Character3d_4 = 0x100,
|
||||
Character3D_NotReflect = 0x200,
|
||||
Background3D_Other = 0x400
|
||||
}
|
||||
|
||||
public enum CharacterLOD
|
||||
{
|
||||
Outline_0 = 1,
|
||||
Outline_1 = 2,
|
||||
Outline_2 = 4,
|
||||
Outline_3 = 8,
|
||||
Outline_4 = 0x10,
|
||||
Outline_5 = 0x20,
|
||||
Outline_6 = 0x40,
|
||||
Outline_7 = 0x80,
|
||||
Outline_8 = 0x100,
|
||||
Outline_9 = 0x200,
|
||||
Shader_0 = 0x8000,
|
||||
Shader_1 = 0x10000,
|
||||
Shader_2 = 0x20000,
|
||||
Shader_3 = 0x40000,
|
||||
Shader_4 = 0x80000,
|
||||
Shader_5 = 0x100000,
|
||||
Shader_6 = 0x200000,
|
||||
Shader_7 = 0x400000,
|
||||
Shader_8 = 0x800000,
|
||||
Shader_9 = 0x1000000
|
||||
}
|
||||
|
||||
public static readonly float defaultNearClip = 1f;
|
||||
|
||||
public static readonly float defaultFarClip = 100f;
|
||||
|
||||
public static readonly float minClipValue = 0.001f;
|
||||
|
||||
protected const CullingLayer allCullingLayer = (CullingLayer)0x7FF;
|
||||
|
||||
protected const CullingLayer defCameraCullingLayer = (CullingLayer)0x7FE;
|
||||
|
||||
protected const CharacterLOD outlineLODMask = (CharacterLOD)0x3FF;
|
||||
|
||||
protected const CharacterLOD shaderLODMask = (CharacterLOD)0x1FF8000;
|
||||
|
||||
public LiveCameraPositionType setType = LiveCameraPositionType.Direct;
|
||||
|
||||
public Vector3 posDirect = Vector3.zero;
|
||||
|
||||
[NonSerialized]
|
||||
public Transform posTransform;
|
||||
|
||||
public string posTransformName = "";
|
||||
|
||||
public Vector3 offset = Vector3.zero;
|
||||
|
||||
public Vector3[] bezierPoints;
|
||||
|
||||
public LiveCharaPositionFlag charaRelativeBase = LiveCharaPositionFlag.Center;
|
||||
|
||||
public LiveCameraLookAtCharaParts charaRelativeParts = LiveCameraLookAtCharaParts.ConstHeightFace;
|
||||
|
||||
public float traceSpeed = 0.1f;
|
||||
|
||||
public float nearClip = defaultNearClip;
|
||||
|
||||
public float farClip = defaultFarClip;
|
||||
|
||||
public float outlineZOffset = 1f;
|
||||
|
||||
public CullingLayer cullingMask = defCameraCullingLayer;
|
||||
|
||||
public CharacterLOD characterLODMask = (CharacterLOD)((uint)outlineLODMask + (uint)shaderLODMask);
|
||||
|
||||
public bool newBezierCalcMethod;
|
||||
|
||||
public bool necessaryToUseNewBezierCalcMethod
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!newBezierCalcMethod)
|
||||
{
|
||||
return GetBezierPointCount() > 3;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraPos;
|
||||
|
||||
protected static int GetCullingMask(CullingLayer layer)
|
||||
{
|
||||
int num = 257;
|
||||
if ((layer & CullingLayer.TransparentFX) != 0)
|
||||
{
|
||||
num |= 2;
|
||||
}
|
||||
if ((layer & CullingLayer.Background3D_NotReflect) != 0)
|
||||
{
|
||||
num |= 0x80000;
|
||||
}
|
||||
if ((layer & CullingLayer.Background3d) != 0)
|
||||
{
|
||||
num |= 0x100000;
|
||||
}
|
||||
if ((layer & CullingLayer.Character3d) != 0)
|
||||
{
|
||||
num |= 0x200000;
|
||||
}
|
||||
if ((layer & CullingLayer.Character3d_0) != 0)
|
||||
{
|
||||
num |= 0x400000;
|
||||
}
|
||||
if ((layer & CullingLayer.Character3d_1) != 0)
|
||||
{
|
||||
num |= 0x800000;
|
||||
}
|
||||
if ((layer & CullingLayer.Character3d_2) != 0)
|
||||
{
|
||||
num |= 0x1000000;
|
||||
}
|
||||
if ((layer & CullingLayer.Character3d_3) != 0)
|
||||
{
|
||||
num |= 0x2000000;
|
||||
}
|
||||
if ((layer & CullingLayer.Character3d_4) != 0)
|
||||
{
|
||||
num |= 0x4000000;
|
||||
}
|
||||
if ((layer & CullingLayer.Character3D_NotReflect) != 0)
|
||||
{
|
||||
num |= 0x8000000;
|
||||
}
|
||||
if ((layer & CullingLayer.Background3D_Other) != 0)
|
||||
{
|
||||
num |= 0x40000;
|
||||
}
|
||||
return num;
|
||||
|
||||
/*
|
||||
uint bittest = (uint)layer;
|
||||
|
||||
uint result = (uint)LayerMask.GetMask("Default");
|
||||
|
||||
if ((bittest & (uint)CullingLayer.TransparentFX) > 0)
|
||||
result |= (uint)LayerMask.GetMask("TransparentFX");
|
||||
if ((bittest & (uint)CullingLayer.Background3D_NotReflect) > 0)
|
||||
result |= (uint)LayerMask.GetMask("background_NotReflect");
|
||||
if ((bittest & (uint)CullingLayer.Background3d) > 0)
|
||||
result |= (uint)LayerMask.GetMask("background");
|
||||
if ((bittest & (uint)CullingLayer.Character3d) > 0)
|
||||
result |= (uint)LayerMask.GetMask("charas");
|
||||
if ((bittest & (uint)CullingLayer.Character3d_0) > 0)
|
||||
result |= (uint)LayerMask.GetMask("chara1");
|
||||
if ((bittest & (uint)CullingLayer.Character3d_1) > 0)
|
||||
result |= (uint)LayerMask.GetMask("chara2");
|
||||
if ((bittest & (uint)CullingLayer.Character3d_2) > 0)
|
||||
result |= (uint)LayerMask.GetMask("chara3");
|
||||
if ((bittest & (uint)CullingLayer.Character3d_3) > 0)
|
||||
result |= (uint)LayerMask.GetMask("chara4");
|
||||
if ((bittest & (uint)CullingLayer.Character3d_4) > 0)
|
||||
result |= (uint)LayerMask.GetMask("chara5");
|
||||
if ((bittest & (uint)CullingLayer.Character3D_NotReflect) > 0)
|
||||
result |= (uint)LayerMask.GetMask("otherChara");
|
||||
if ((bittest & (uint)CullingLayer.Background3D_Other) > 0)
|
||||
result |= (uint)LayerMask.GetMask("background_Other");
|
||||
return (int)result;
|
||||
*/
|
||||
}
|
||||
|
||||
public static int GetDefaultCullingMask()
|
||||
{
|
||||
return GetCullingMask(defCameraCullingLayer);
|
||||
}
|
||||
|
||||
public static int GetAllCullingMask()
|
||||
{
|
||||
return GetCullingMask(allCullingLayer);
|
||||
}
|
||||
|
||||
public int GetCullingMask()
|
||||
{
|
||||
return GetCullingMask(cullingMask);
|
||||
}
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
if (setType == LiveCameraPositionType.Locator && !string.IsNullOrEmpty(posTransformName))
|
||||
{
|
||||
posTransform = timelineControl.FindPositionLocator(posTransformName);
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsDelay()
|
||||
{
|
||||
return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayEnable);
|
||||
}
|
||||
|
||||
public bool IsDelayContinuous()
|
||||
{
|
||||
return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayInherit);
|
||||
}
|
||||
|
||||
public bool HasBezier()
|
||||
{
|
||||
if (bezierPoints != null)
|
||||
{
|
||||
return bezierPoints.Length != 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetBezierPointCount()
|
||||
{
|
||||
if (!HasBezier())
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return bezierPoints.Length;
|
||||
}
|
||||
|
||||
public Vector3 GetBezierPoint(int index, LiveTimelineControl timelineControl)
|
||||
{
|
||||
if (HasBezier() && index < bezierPoints.Length)
|
||||
{
|
||||
return GetValue(timelineControl) + bezierPoints[index];
|
||||
}
|
||||
return GetValue(timelineControl) + Vector3.zero;
|
||||
}
|
||||
|
||||
public void GetBezierPoints(LiveTimelineControl timelineControl, Vector3[] outPoints, int startIndex)
|
||||
{
|
||||
if (HasBezier())
|
||||
{
|
||||
for (int i = 0; i < bezierPoints.Length; i++)
|
||||
{
|
||||
outPoints[startIndex + i] = GetValue(timelineControl) + bezierPoints[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual Vector3 GetValue(LiveTimelineControl timelineControl)
|
||||
{
|
||||
return GetValue(timelineControl, setType, containOffset: true);
|
||||
}
|
||||
|
||||
protected virtual Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraPositionType type, bool containOffset)
|
||||
{
|
||||
Vector3 vector = Vector3.zero;
|
||||
switch (type)
|
||||
{
|
||||
case LiveCameraPositionType.Direct:
|
||||
vector = posDirect;
|
||||
break;
|
||||
case LiveCameraPositionType.Locator:
|
||||
if (posTransform != null)
|
||||
{
|
||||
vector = posTransform.position;
|
||||
}
|
||||
break;
|
||||
case LiveCameraPositionType.Character:
|
||||
vector = timelineControl.GetPositionWithCharacters(charaRelativeBase, charaRelativeParts);
|
||||
break;
|
||||
}
|
||||
if (!containOffset)
|
||||
{
|
||||
return vector;
|
||||
}
|
||||
return vector + offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 16268e4915ee59643aee835097985eb7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCameraRollData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public float degree;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraRoll;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44bf220de200a1e4b977ebf006a54bfe
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCameraSwitcherData : LiveTimelineKey
|
||||
{
|
||||
public int cameraIndex;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraSwitcher;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8e25b0a1cf327d64e98a33dfce41caca
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaCySpring : LiveTimelineKey
|
||||
{
|
||||
public enum ParameterType
|
||||
{
|
||||
Reset,
|
||||
Soft,
|
||||
Usually,
|
||||
Hard,
|
||||
SuperHard,
|
||||
Suppression
|
||||
}
|
||||
|
||||
private const float DefaultAccSitffness = 0.03f;
|
||||
|
||||
public LiveCharaPositionFlag _resetCySpringFlag;
|
||||
|
||||
public LiveCharaPositionFlag _overrideParameterCySpringFlag;
|
||||
|
||||
public ParameterType[] _overrideParameterType;
|
||||
|
||||
public bool[] _overrideAllBone;
|
||||
|
||||
public bool[] _overrideAccBone;
|
||||
|
||||
public float[] _overrideAccStiffness;
|
||||
|
||||
public bool[] _overrideFurisodeBone;
|
||||
|
||||
public float[] _overrideFurisodeStiffness;
|
||||
|
||||
[NonSerialized]
|
||||
public bool _isExecute;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaCySpring;
|
||||
|
||||
public void AddResetCharaPositionFlag(LiveCharaPositionFlag flag)
|
||||
{
|
||||
_resetCySpringFlag |= flag;
|
||||
}
|
||||
|
||||
public void RemoveResetCharaPositionFlag(LiveCharaPositionFlag flag)
|
||||
{
|
||||
_resetCySpringFlag &= ~flag;
|
||||
}
|
||||
|
||||
public bool IsResetCharaPositionFlag(LiveCharaPositionFlag flag)
|
||||
{
|
||||
return (_resetCySpringFlag & flag) != 0;
|
||||
}
|
||||
|
||||
public bool IsResetCharaFlag(LiveCharaPosition flag)
|
||||
{
|
||||
LiveCharaPositionFlag flag2 = (LiveCharaPositionFlag)(1 << (int)flag);
|
||||
return IsResetCharaPositionFlag(flag2);
|
||||
}
|
||||
|
||||
public void SetResetCharaPositionFlag(LiveCharaPositionFlag flag, bool enable)
|
||||
{
|
||||
if (enable)
|
||||
{
|
||||
AddResetCharaPositionFlag(flag);
|
||||
}
|
||||
else
|
||||
{
|
||||
RemoveResetCharaPositionFlag(flag);
|
||||
}
|
||||
}
|
||||
|
||||
public void AddOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag)
|
||||
{
|
||||
_overrideParameterCySpringFlag |= flag;
|
||||
}
|
||||
|
||||
public void RemoveOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag)
|
||||
{
|
||||
_overrideParameterCySpringFlag &= ~flag;
|
||||
}
|
||||
|
||||
public bool IsOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag)
|
||||
{
|
||||
return (_overrideParameterCySpringFlag & flag) != 0;
|
||||
}
|
||||
|
||||
public bool IsOverrideParameterCharaFlag(LiveCharaPosition flag)
|
||||
{
|
||||
LiveCharaPositionFlag flag2 = (LiveCharaPositionFlag)(1 << (int)flag);
|
||||
return IsOverrideParameterCharaPositionFlag(flag2);
|
||||
}
|
||||
|
||||
public void SetOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag, bool enable)
|
||||
{
|
||||
if (enable)
|
||||
{
|
||||
AddOverrideParameterCharaPositionFlag(flag);
|
||||
}
|
||||
else
|
||||
{
|
||||
RemoveOverrideParameterCharaPositionFlag(flag);
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
if (_overrideParameterType == null || _overrideParameterType.Length < 15)
|
||||
{
|
||||
_overrideParameterType = new ParameterType[15];
|
||||
}
|
||||
if (_overrideAllBone == null || _overrideAllBone.Length < 15)
|
||||
{
|
||||
_overrideAllBone = new bool[15];
|
||||
}
|
||||
if (_overrideAccBone == null || _overrideAccBone.Length < 15)
|
||||
{
|
||||
_overrideAccBone = new bool[15];
|
||||
}
|
||||
if (_overrideAccStiffness == null || _overrideAccStiffness.Length < 15)
|
||||
{
|
||||
_overrideAccStiffness = new float[15];
|
||||
for (int i = 0; i < _overrideAccStiffness.Length; i++)
|
||||
{
|
||||
_overrideAccStiffness[i] = 0.03f;
|
||||
}
|
||||
}
|
||||
if (_overrideFurisodeBone == null || _overrideFurisodeBone.Length < 15)
|
||||
{
|
||||
_overrideFurisodeBone = new bool[15];
|
||||
}
|
||||
if (_overrideFurisodeStiffness == null || _overrideFurisodeStiffness.Length < 15)
|
||||
{
|
||||
_overrideFurisodeStiffness = new float[15];
|
||||
for (int j = 0; j < _overrideFurisodeStiffness.Length; j++)
|
||||
{
|
||||
_overrideFurisodeStiffness[j] = 0.03f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 204aadd4619e75544be31a0eaaeffc96
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaFootLightData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public LiveCharaPositionFlag positionFlag;
|
||||
|
||||
public float[] hightMax = new float[15];
|
||||
|
||||
public Color[] lightColor = new Color[15];
|
||||
|
||||
public bool[] alphaBlend = new bool[15];
|
||||
|
||||
public bool[] inverseAlpha = new bool[15];
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaFootLight;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bd48075d3b161eb40a9cd511874d1dea
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaHeightMotionData : LiveTimelineKeyCharaMotionData
|
||||
{
|
||||
public enum BlendType
|
||||
{
|
||||
Self,
|
||||
Target,
|
||||
SelfFix,
|
||||
TargetParts
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct PartsMotion
|
||||
{
|
||||
public AnimationClip baseMotion;
|
||||
|
||||
public AnimationClip blendMotion;
|
||||
|
||||
public LiveCharaPosition targetPosition;
|
||||
|
||||
public LiveTimelineKeyCharaIKData.IKPart positionOffset;
|
||||
}
|
||||
|
||||
public bool interpolate;
|
||||
|
||||
public float blendRate = 1f;
|
||||
|
||||
public BlendType blendType;
|
||||
|
||||
public LiveCharaPosition targetPosition;
|
||||
|
||||
public LiveTimelineKeyCharaIKData.IKPart positionOffset;
|
||||
|
||||
public PartsMotion[] partsMotion;
|
||||
|
||||
public LiveCharaPosition target2Position;
|
||||
|
||||
public float targetBlendRate;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaHeightMotion;
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 38be576219eb9be4da5c33a1df22090e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaIKData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public enum IKPart
|
||||
{
|
||||
Leg_L,
|
||||
Leg_R,
|
||||
Arm_L,
|
||||
Arm_R,
|
||||
Max
|
||||
}
|
||||
|
||||
private const int IKPartNum = 4;
|
||||
|
||||
public float[] blendRate = new float[IKPartNum];
|
||||
|
||||
public bool[] enableIk = new bool[IKPartNum];
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaIK;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d80a86e3d788d27408cb42f8b2719da8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+91
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaMotionData : LiveTimelineKey
|
||||
{
|
||||
public string motionName = "";
|
||||
|
||||
public AnimationClip clip;
|
||||
|
||||
public float motionHeadTime;
|
||||
|
||||
public float playLength = 1f;
|
||||
|
||||
public float playSpeed = 1f;
|
||||
|
||||
public bool loop;
|
||||
|
||||
[NonSerialized]
|
||||
public int motionNameHash;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaMotionSequecne;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
MotionNameChangeOnLoad(timelineControl);
|
||||
}
|
||||
|
||||
protected virtual void MotionNameChangeOnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
motionNameHash = FNVHash.FNV_OFFSET_BASIS_I32;
|
||||
|
||||
if (string.IsNullOrEmpty(motionName))
|
||||
{
|
||||
return;
|
||||
}
|
||||
MotionNameChangeAlt(timelineControl);
|
||||
if (!Director.instance || (!Director.instance.IsExtendMotionLoadForConditionMotionChange() && !Director.instance.IsSwapMotionNameForConditionMotionChange(motionName)))
|
||||
{
|
||||
clip = timelineControl.LoadAnimationClip(this);
|
||||
if (clip == null && motionName.EndsWith("_alt_legacy", StringComparison.Ordinal))
|
||||
{
|
||||
motionName = motionName.Replace("_alt", string.Empty);
|
||||
clip = timelineControl.LoadAnimationClip(this);
|
||||
}
|
||||
motionNameHash = FNVHash.Generate(motionName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected virtual void MotionNameChangeAlt(LiveTimelineControl timelineControl)
|
||||
{
|
||||
if (motionName.EndsWith("_alt_legacy", StringComparison.Ordinal))
|
||||
{
|
||||
motionName = motionName.Replace("_alt", string.Empty);
|
||||
}
|
||||
bool flag = false;
|
||||
if (timelineControl.data.alterAnimationMode == LiveTimelineData.AlterAnimationMode.LeftHanded)
|
||||
{
|
||||
int num = -1;
|
||||
List<LiveTimelineCharaMotSeqData> charaMotSeqList = timelineControl.data.GetWorkSheetList()[0].charaMotSeqList;
|
||||
for (int i = 0; i < charaMotSeqList.Count; i++)
|
||||
{
|
||||
if (charaMotSeqList[i].keys.thisList.IndexOf(this) >= 0)
|
||||
{
|
||||
num = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (num >= 0)
|
||||
{
|
||||
num = Array.IndexOf(timelineControl.data.characterSettings.motionSequenceIndices, num);
|
||||
int num2 = num;
|
||||
int charaId = Director.instance.GetCharacterData(num2 + 1).charaId;
|
||||
if ((int)MasterDBManager.instance.masterCharaData.Get(charaId).hand == 3002)
|
||||
{
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (flag)
|
||||
{
|
||||
motionName = motionName.Replace("_legacy", "_alt_legacy");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a20b141f3f7a6b49a26c22bcde4404b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaMotionNoiseData : LiveTimelineKey
|
||||
{
|
||||
private const int kAttrDisable = 65536;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaMotionNoise;
|
||||
|
||||
public bool IsNoiseDisable()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisable);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 415837d639d199545b0e26012b5772b2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaOverrideMotionData : LiveTimelineKeyCharaMotionData
|
||||
{
|
||||
public bool enableRandomPlay;
|
||||
|
||||
public int randomCount;
|
||||
|
||||
public AnimationClip[] randomClips;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaMotionOverwrite;
|
||||
|
||||
protected override void MotionNameChangeOnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
motionNameHash = FNVHash.FNV_OFFSET_BASIS_I32;
|
||||
|
||||
if (string.IsNullOrEmpty(motionName))
|
||||
{
|
||||
return;
|
||||
}
|
||||
MotionNameChangeAlt(timelineControl);
|
||||
MotionNameChangeRandomPlay();
|
||||
if (!Director.instance || (!Director.instance.IsExtendMotionLoadForConditionMotionChange() && !Director.instance.IsSwapMotionNameForConditionMotionChange(motionName)))
|
||||
{
|
||||
clip = timelineControl.LoadAnimationClip(this);
|
||||
if (clip == null && motionName.EndsWith("_alt_legacy", StringComparison.Ordinal))
|
||||
{
|
||||
motionName = motionName.Replace("_alt", string.Empty);
|
||||
clip = timelineControl.LoadAnimationClip(this);
|
||||
}
|
||||
motionNameHash = FNVHash.Generate(motionName);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void MotionNameChangeAlt(LiveTimelineControl timelineControl)
|
||||
{
|
||||
if (motionName.EndsWith("_alt_legacy", StringComparison.Ordinal))
|
||||
{
|
||||
motionName = motionName.Replace("_alt", string.Empty);
|
||||
}
|
||||
bool flag = false;
|
||||
if (timelineControl.data.alterAnimationMode == LiveTimelineData.AlterAnimationMode.LeftHanded)
|
||||
{
|
||||
int num = -1;
|
||||
List<LiveTimelineCharaOverrideMotSeqData> charaMotOverwriteList = timelineControl.data.GetWorkSheetList()[0].charaMotOverwriteList;
|
||||
for (int i = 0; i < charaMotOverwriteList.Count; i++)
|
||||
{
|
||||
if (charaMotOverwriteList[i].keys.thisList.IndexOf(this) >= 0)
|
||||
{
|
||||
num = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (num >= 0)
|
||||
{
|
||||
num = Array.IndexOf(timelineControl.data.characterSettings.motionOverwriteIndices, num);
|
||||
int num2 = num;
|
||||
int charaId = Director.instance.GetCharacterData(num2 + 1).charaId;
|
||||
if ((int)MasterDBManager.instance.masterCharaData.Get(charaId).hand == 3002)
|
||||
{
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (flag)
|
||||
{
|
||||
motionName = motionName.Replace("_legacy", "_alt_legacy");
|
||||
}
|
||||
}
|
||||
|
||||
private void MotionNameChangeRandomPlay()
|
||||
{
|
||||
if (enableRandomPlay)
|
||||
{
|
||||
int num = UnityEngine.Random.Range(0, randomCount);
|
||||
AnimationClip animationClip = randomClips[num];
|
||||
if (animationClip != null)
|
||||
{
|
||||
motionName = animationClip.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 58ac944c4417f1643b7a2bb1732996c6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCharaWindData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public enum WindMode
|
||||
{
|
||||
None,
|
||||
Sin,
|
||||
Wind
|
||||
}
|
||||
|
||||
public bool enable;
|
||||
|
||||
public Vector3 cySpringForceScale = Vector3.one;
|
||||
|
||||
public Vector3 windPower;
|
||||
|
||||
public float loopTime = 1f;
|
||||
|
||||
public WindMode windMode = WindMode.Sin;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaWind;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d5c6fa62825d5148b14aa45284cab2c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyColorCorrectionData : LiveTimelineKey
|
||||
{
|
||||
public bool enable = true;
|
||||
|
||||
public float saturation = 1f;
|
||||
|
||||
public AnimationCurve redCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f);
|
||||
|
||||
public AnimationCurve greenCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f);
|
||||
|
||||
public AnimationCurve blueCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f);
|
||||
|
||||
public bool selective;
|
||||
|
||||
public Color keyColor = Color.white;
|
||||
|
||||
public Color targetColor = Color.white;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.ColorCorrection;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c449f12782149e448b96740c29cee38
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCrossFadeCameraAlphaData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public float alpha = 1f;
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraAlpha;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d4db783c6ff628e40be9aa74a1f03957
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCrossFadeCameraFovData : LiveTimelineKeyCameraFovData
|
||||
{
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraFov;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94f4c94eb408d69469007b507bb0074a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCrossFadeCameraLookAtData : LiveTimelineKeyCameraLookAtData
|
||||
{
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraLookAt;
|
||||
|
||||
protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraLookAtType type, Vector3 camPos, bool containOffset)
|
||||
{
|
||||
Vector3 vector = Vector3.zero;
|
||||
switch (type)
|
||||
{
|
||||
case LiveCameraLookAtType.Locator:
|
||||
case LiveCameraLookAtType.Rotation:
|
||||
return base.GetValue(timelineControl, type, camPos, containOffset);
|
||||
case LiveCameraLookAtType.Character:
|
||||
{
|
||||
Quaternion crossCameraWorldRotation = timelineControl.GetCrossCameraWorldRotation();
|
||||
Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(crossCameraWorldRotation);
|
||||
vector = timelineControl.GetPositionWithCharacters(lookAtCharaPos, lookAtCharaParts, extraCameraLayerOffset);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!containOffset)
|
||||
{
|
||||
return vector;
|
||||
}
|
||||
return vector + offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 51b17c45b224f9741a0b6285dc4b2fed
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCrossFadeCameraPositionData : LiveTimelineKeyCameraPositionData
|
||||
{
|
||||
public bool isEnable;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraPos;
|
||||
|
||||
protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraPositionType type, bool containOffset)
|
||||
{
|
||||
Vector3 vector = Vector3.zero;
|
||||
switch (type)
|
||||
{
|
||||
case LiveCameraPositionType.Locator:
|
||||
case LiveCameraPositionType.Direct:
|
||||
return base.GetValue(timelineControl, type, containOffset);
|
||||
case LiveCameraPositionType.Character:
|
||||
{
|
||||
Quaternion crossCameraWorldRotation = timelineControl.GetCrossCameraWorldRotation();
|
||||
Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(crossCameraWorldRotation);
|
||||
vector = timelineControl.GetPositionWithCharacters(charaRelativeBase, charaRelativeParts, extraCameraLayerOffset);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!containOffset)
|
||||
{
|
||||
return vector;
|
||||
}
|
||||
return vector + offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d8b6a30450ea34343bfe5fcf9a557363
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCrossFadeCameraRollData : LiveTimelineKeyCameraRollData
|
||||
{
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraRoll;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: da8669f1c428c054388a40fed5eb6078
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyCuttNumberData : LiveTimelineKey
|
||||
{
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CuttNumber;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0f14d0b25fff3804991069ad370e3f52
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyDressChangeData : LiveTimelineKey
|
||||
{
|
||||
public enum eTarget
|
||||
{
|
||||
Center = 0,
|
||||
Left1 = 1,
|
||||
Right1 = 2,
|
||||
Left2 = 3,
|
||||
Right2 = 4,
|
||||
Left3 = 5,
|
||||
Right3 = 6,
|
||||
Left4 = 7,
|
||||
Right4 = 8,
|
||||
Left5 = 9,
|
||||
Right5 = 10,
|
||||
Left6 = 11,
|
||||
Right6 = 12,
|
||||
Left7 = 13,
|
||||
Right7 = 14,
|
||||
MAX = 0xF,
|
||||
INVALID = 0xF
|
||||
}
|
||||
|
||||
public enum eTargetFlag
|
||||
{
|
||||
Center = 1,
|
||||
Left1 = 2,
|
||||
Right1 = 4,
|
||||
Left2 = 8,
|
||||
Right2 = 0x10,
|
||||
Left3 = 0x20,
|
||||
Right3 = 0x40,
|
||||
Left4 = 0x80,
|
||||
Right4 = 0x100,
|
||||
Left5 = 0x200,
|
||||
Right5 = 0x400,
|
||||
Left6 = 0x800,
|
||||
Right6 = 0x1000,
|
||||
Left7 = 0x2000,
|
||||
Right7 = 0x4000,
|
||||
MainUnit = 0x1F,
|
||||
ExtUnit = 32736,
|
||||
AllUnit = 0x7FFF
|
||||
}
|
||||
|
||||
public enum eDressType
|
||||
{
|
||||
DressA,
|
||||
DressB,
|
||||
DressC
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
private int _targetFlags;
|
||||
|
||||
[SerializeField]
|
||||
private eDressType[] _dressType = new eDressType[15];
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.DressChange;
|
||||
|
||||
public eTargetFlag targetFlags => (eTargetFlag)_targetFlags;
|
||||
|
||||
public eDressType[] dressType => _dressType;
|
||||
|
||||
protected int GetTargetFlag(eTarget target)
|
||||
{
|
||||
return 1 << (int)target;
|
||||
}
|
||||
|
||||
public bool CheckTargetFlag(eTarget target)
|
||||
{
|
||||
int targetFlag = GetTargetFlag(target);
|
||||
return (_targetFlags & targetFlag) == targetFlag;
|
||||
}
|
||||
|
||||
public void SetTargetFlag(eTarget target, bool sw)
|
||||
{
|
||||
int targetFlag = GetTargetFlag(target);
|
||||
_targetFlags |= targetFlag;
|
||||
if (!sw)
|
||||
{
|
||||
_targetFlags ^= targetFlag;
|
||||
}
|
||||
}
|
||||
|
||||
public eDressType GetDressType(eTarget target)
|
||||
{
|
||||
return _dressType[(int)target];
|
||||
}
|
||||
|
||||
public eDressType[] GetCloneDressTypeArray()
|
||||
{
|
||||
eDressType[] array = new eDressType[15];
|
||||
for (int i = 0; i < _dressType.Length; i++)
|
||||
{
|
||||
array[i] = _dressType[i];
|
||||
}
|
||||
return array;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d68b20e063419744c99c9d5362c7965c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyEffectData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
private enum eEffectStatus
|
||||
{
|
||||
Play,
|
||||
Stop
|
||||
}
|
||||
|
||||
private const int FLAG_LOOP = 262144;
|
||||
|
||||
private const int FLAG_PLAY = 524288;
|
||||
|
||||
private const int FLAG_CLEAR = 1048576;
|
||||
|
||||
private const int FLAG_STAY_PRS = 2097152;
|
||||
|
||||
public eEffectBlendMode blendMode;
|
||||
|
||||
public Color color = Color.white;
|
||||
|
||||
public float colorPower = 1f;
|
||||
|
||||
public eEffectOwner owner = eEffectOwner.World;
|
||||
|
||||
public eEffectOccurrenceSpot occurrenceSpot = eEffectOccurrenceSpot.Hand_Attach_L;
|
||||
|
||||
public Vector3 offset = Vector3.zero;
|
||||
|
||||
public Vector3 offsetAngle = Vector3.zero;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Effect;
|
||||
|
||||
public bool IsPlay()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_PLAY);
|
||||
}
|
||||
|
||||
public bool IsLoop()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_LOOP);
|
||||
}
|
||||
|
||||
public bool IsClear()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_CLEAR);
|
||||
}
|
||||
|
||||
public bool IsStayPRS()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_STAY_PRS);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 21684ac4d7c53fb4ea1fbb73a3f09edc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyEventData : LiveTimelineKey
|
||||
{
|
||||
[Serializable]
|
||||
public class EventData
|
||||
{
|
||||
public LiveTimelineEventID eventId;
|
||||
|
||||
private CuttEventParamBase eventParam;
|
||||
|
||||
public string serializedParamter = "";
|
||||
|
||||
public TypeValue GetParameter<TypeValue>() where TypeValue : CuttEventParamBase
|
||||
{
|
||||
return eventParam as TypeValue;
|
||||
}
|
||||
|
||||
public void OnLoad()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(serializedParamter) && LiveTimelineEventPublisher.paramGeneratorDict.TryGetValue(eventId, out var value))
|
||||
{
|
||||
eventParam = null;
|
||||
if (value != null)
|
||||
{
|
||||
eventParam = value.ToObject(serializedParamter);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public List<EventData> eventList = new List<EventData>();
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Event;
|
||||
|
||||
public override void OnLoad(LiveTimelineControl timelineControl)
|
||||
{
|
||||
base.OnLoad(timelineControl);
|
||||
foreach (EventData @event in eventList)
|
||||
{
|
||||
@event.OnLoad();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9311331591d7d4448363cab942088b0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFacialEyeData : LiveTimelineKey
|
||||
{
|
||||
public int eyeRFlag;
|
||||
|
||||
public int eyeLFlag;
|
||||
|
||||
public int eyeSpeed;
|
||||
|
||||
public const int kAttrNop = 65536;
|
||||
|
||||
public const int kAttrBlink = 131072;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialEye;
|
||||
|
||||
public bool IsNop()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrNop);
|
||||
}
|
||||
|
||||
public bool IsBlink()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrBlink);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e2e1c9aaf5397a47aa1132244427d5e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFacialEyeTrackData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
private const int kAttrUp = 65536;
|
||||
|
||||
private const int kAttrDown = 131072;
|
||||
|
||||
private const int kAttrNop = 262144;
|
||||
|
||||
private const int kAttrWorld = 524288;
|
||||
|
||||
private const int kAttrDisableAvertEye = 1048576;
|
||||
|
||||
private const int kAttrDisableAvertEyeFace = 2097152;
|
||||
|
||||
private const int kAttrForceAvertEye = 4194304;
|
||||
|
||||
private const int kAttrForceAvertEyeFace = 8388608;
|
||||
|
||||
public FacialEyeTrackTarget target;
|
||||
|
||||
public float speed = 1f;
|
||||
|
||||
public float upOffset = 3f;
|
||||
|
||||
public float downOffset = 3f;
|
||||
|
||||
public int[] targetCharaIds;
|
||||
|
||||
public Vector3 position;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialEyeTrack;
|
||||
|
||||
public bool IsUp()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrUp);
|
||||
}
|
||||
|
||||
public bool IsDown()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDown);
|
||||
}
|
||||
|
||||
public bool IsNop()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrNop);
|
||||
}
|
||||
public bool IsWorldPosition()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrWorld);
|
||||
}
|
||||
|
||||
public bool IsDisableAvertEye()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisableAvertEye);
|
||||
}
|
||||
|
||||
public bool IsDisableAvertEyeFace()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisableAvertEyeFace);
|
||||
}
|
||||
|
||||
public bool IsForceAvertEye()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrForceAvertEye);
|
||||
}
|
||||
|
||||
public bool IsForceAvertEyeFace()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrForceAvertEyeFace);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e0033ff9852d59244bbf879accede43d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFacialFaceData : LiveTimelineKey
|
||||
{
|
||||
private enum eCheekControl
|
||||
{
|
||||
ControlEnable = 1,
|
||||
CheekEnable
|
||||
}
|
||||
|
||||
private const int kAttrCheek = 65536;
|
||||
|
||||
private const int kAttrEyeNop = 131072;
|
||||
|
||||
private const int CHR_ID_FIRST_INDEX = 100;
|
||||
|
||||
public int faceFlag;
|
||||
|
||||
public int faceSlotIdx;
|
||||
|
||||
[SerializeField]
|
||||
private int _cheekControl;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialFace;
|
||||
|
||||
public bool IsCheek()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrCheek);
|
||||
}
|
||||
|
||||
public bool IsEyeNop()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrEyeNop);
|
||||
}
|
||||
|
||||
public static bool isChrSpecialFace(int flg)
|
||||
{
|
||||
return CHR_ID_FIRST_INDEX < flg;
|
||||
}
|
||||
|
||||
private void SetCheekControlFlag(eCheekControl flag, bool enable)
|
||||
{
|
||||
if (enable)
|
||||
{
|
||||
_cheekControl |= (int)flag;
|
||||
}
|
||||
else
|
||||
{
|
||||
_cheekControl &= (int)(~flag);
|
||||
}
|
||||
}
|
||||
|
||||
private bool CheckCheekControlFlag(eCheekControl flag)
|
||||
{
|
||||
return ((uint)_cheekControl & (uint)flag) != 0;
|
||||
}
|
||||
|
||||
public bool IsCheekControlEnable()
|
||||
{
|
||||
return CheckCheekControlFlag(eCheekControl.ControlEnable);
|
||||
}
|
||||
|
||||
public bool IsCheekEnable()
|
||||
{
|
||||
return CheckCheekControlFlag(eCheekControl.CheekEnable);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e7535f74835f3544e8713dad1489a1cc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFacialMouthData : LiveTimelineKey, ILiveTimelineKeyHasMouthType
|
||||
{
|
||||
public const int kAttrNop = 65536;
|
||||
|
||||
public int mouthFlag;
|
||||
|
||||
public int mouthSizeFlag;
|
||||
|
||||
public int mouthSpeed;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialMouth;
|
||||
|
||||
public bool IsNop()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrNop);
|
||||
}
|
||||
|
||||
public LiveTimelineDefine.MouthType GetMouthType()
|
||||
{
|
||||
return (LiveTimelineDefine.MouthType)mouthFlag;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d603da646dcdfd4db0b4704c33d7744
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFacialNoiseData : LiveTimelineKey
|
||||
{
|
||||
private const int kAttrDisable = 65536;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialNoise;
|
||||
|
||||
public bool IsNoiseDisable()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisable);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77f0bf261a5accc4e87195eabf4f2da4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyFormationOffsetData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
private const int kAttrResetCloth = 65536;
|
||||
|
||||
private const int kAttrEffectClear = 131072;
|
||||
|
||||
public Vector2 posXZ = Vector2.zero;
|
||||
|
||||
public float posY;
|
||||
|
||||
public float rotY;
|
||||
|
||||
public Vector3 charaAxisRotate = Vector3.zero;
|
||||
|
||||
public bool visible = true;
|
||||
|
||||
public bool useLateRotate;
|
||||
|
||||
public Vector3 lateCharaRotate = Vector3.zero;
|
||||
|
||||
public bool isWorldSpace;
|
||||
|
||||
public Vector3 worldSpaceOrigin = Vector3.zero;
|
||||
|
||||
public float worldRotationY;
|
||||
|
||||
public bool isLookAtWorldOrigin;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FormationOffset;
|
||||
|
||||
public bool IsResetCloth()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrResetCloth);
|
||||
}
|
||||
|
||||
public bool IsEffectClear()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrEffectClear);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 780150f5e6200d1458b610897d16a398
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyGazingObjectData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public LiveCharaPositionFlag lookAtCharaFlags;
|
||||
|
||||
public LiveCameraLookAtCharaParts lookAtCharaParts = LiveCameraLookAtCharaParts.Waist;
|
||||
|
||||
public Vector3 lookAtOffset = Vector3.zero;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.GazingObject;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80f5eac442125694e8ea541076a0ee00
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyGlassData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public float transparent;
|
||||
|
||||
public float specularPower = 5f;
|
||||
|
||||
public Color specularColor = Color.white;
|
||||
|
||||
public Vector3 lightPosition = Vector3.zero;
|
||||
|
||||
public int sortOrderOffset;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Glass;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c41d5d9489edacb44b522c0fb0a40d64
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyGlobalFogData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public bool isDistance;
|
||||
|
||||
public float startDistance;
|
||||
|
||||
public bool isHeight;
|
||||
|
||||
public float height = 2f;
|
||||
|
||||
public float heightDensity = 1f;
|
||||
|
||||
public Color color;
|
||||
|
||||
public FogMode fogMode = FogMode.ExponentialSquared;
|
||||
|
||||
public float expDensity = 0.01f;
|
||||
|
||||
public float start;
|
||||
|
||||
public float end = 300f;
|
||||
|
||||
public bool useRadialDistance;
|
||||
|
||||
public Vector4 heightOption = new Vector4(1f, 0f, 0f, 0f);
|
||||
|
||||
public Vector4 distanceOption = new Vector4(1f, 0f, 1f, 0f);
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.GlobalFog;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce971cd80ed9ae546a12fe08aa223232
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyGlobalLightData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Vector3 lightDir = new Vector3(-75f, 0f, 0f);
|
||||
|
||||
public float globalRimRate = 1f;
|
||||
|
||||
public float globalRimShadowRate;
|
||||
|
||||
public float globalRimSpecularRate = 1f;
|
||||
|
||||
public float globalToonRate = 1f;
|
||||
|
||||
public bool cameraFollow;
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.GlobalLight;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: efa25a33f21c75d4ab33cd67ea820c1f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyHdrBloomData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public float intensity;
|
||||
|
||||
public float blurSpread;
|
||||
|
||||
public bool enable = true;
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.HdrBloom;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 99fb9d44f544a0540848986e5b7bd834
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyLaserData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
[Serializable]
|
||||
public class PartsTransform
|
||||
{
|
||||
[NonSerialized]
|
||||
public bool disp = false;
|
||||
|
||||
public Vector3 localPos = Vector3.zero;
|
||||
|
||||
public Vector3 localRot = Vector3.zero;
|
||||
|
||||
public Vector3 localScale = Vector3.one;
|
||||
|
||||
public void SetLerp(PartsTransform p0, PartsTransform p1, float t)
|
||||
{
|
||||
localPos = Vector3.Lerp(p0.localPos, p1.localPos, t);
|
||||
localRot = Vector3.Lerp(p0.localRot, p1.localRot, t);
|
||||
localScale = Vector3.Lerp(p0.localScale, p1.localScale, t);
|
||||
}
|
||||
|
||||
public void CopyTo(PartsTransform dst)
|
||||
{
|
||||
dst.localPos = localPos;
|
||||
dst.localRot = localRot;
|
||||
dst.localScale = localScale;
|
||||
}
|
||||
}
|
||||
|
||||
public const int kAttrBlink = 65536;
|
||||
|
||||
public eLaserForm formation;
|
||||
|
||||
public float degRootYaw;
|
||||
|
||||
public float degLaserPitch;
|
||||
|
||||
public float posInterval;
|
||||
|
||||
public float blinkPeriod;
|
||||
|
||||
public PartsTransform rootTransform = new PartsTransform();
|
||||
|
||||
public PartsTransform[] joints = new PartsTransform[5]
|
||||
{
|
||||
new PartsTransform(),
|
||||
new PartsTransform(),
|
||||
new PartsTransform(),
|
||||
new PartsTransform(),
|
||||
new PartsTransform()
|
||||
};
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Laser;
|
||||
|
||||
public bool IsBlink()
|
||||
{
|
||||
return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrBlink);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80fb16c149fb3dc4fa7e2c8bf068b1bb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyLensFlareData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Vector3 offset = Vector3.zero;
|
||||
|
||||
public Color color = Color.white;
|
||||
|
||||
public float brightness = 1f;
|
||||
|
||||
public float fadeSpeed = 1f;
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.LensFlare;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2c73a1e5f5f023148ac1d1c99c164977
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyLightShuftData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public bool enabled = true;
|
||||
|
||||
public Vector4 speed = new Vector4(-60f, -30f, -120f, -30f);
|
||||
|
||||
public Vector4 angle = new Vector4(0f, 0f, 30f, 0f);
|
||||
|
||||
public Vector4 offset;
|
||||
|
||||
public Vector4 alpha = new Vector4(1f, 1f, 1f, 1f);
|
||||
|
||||
public Vector4 alpha2 = new Vector4(1f, 1f, 1f, 1f);
|
||||
|
||||
public Vector4 maskAlpha = new Vector4(1f, 1f, 1f, 1f);
|
||||
|
||||
public float maskAnimeTime = 0.75f;
|
||||
|
||||
public Vector2 maskAlphaRange = new Vector2(0f, 1f);
|
||||
|
||||
public float scale = 1f;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.LightShuft;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7cc362991c7d1b4fbb50a29c090daf2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyMobCyalume3DBloomData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public const float DEFAULT_HORIZONTAL_OFFSET = 2.4f;
|
||||
|
||||
public const float DEFAULT_VERTICAL_OFFSET = 0.6f;
|
||||
|
||||
public const float DEFAULT_THRESHOLD = 1f;
|
||||
|
||||
public const float DEFAULT_GROW_POWER = 1.4f;
|
||||
|
||||
public float horizontalOffset = 2.4f;
|
||||
|
||||
public float verticalOffset = 0.6f;
|
||||
|
||||
public float threshold = 1f;
|
||||
|
||||
public float growPower = 1.4f;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DBloom;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e50354149a0bfeb45903b64b525e752e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyMobCyalume3DColorData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public List<Color> colorList = new List<Color> { Color.white };
|
||||
|
||||
public LiveMobCyalume3DColorPreset preset;
|
||||
|
||||
public bool isEditDetails = true;
|
||||
|
||||
public bool isDevideByGroup;
|
||||
|
||||
public int[] colorIndex_1_0 = new int[1] { -1 };
|
||||
|
||||
public int[] colorIndex_3_0 = new int[3] { -1, -1, -1 };
|
||||
|
||||
public int[] colorIndex_1_1 = new int[2] { -1, -1 };
|
||||
|
||||
public int[] colorIndex_3_3 = new int[6] { -1, -1, -1, -1, -1, -1 };
|
||||
|
||||
public bool isAvoidDuplicateColor;
|
||||
|
||||
public bool isSameCombinationColor;
|
||||
|
||||
private static string _resultString = string.Empty;
|
||||
|
||||
private static string _resultDetailString = string.Empty;
|
||||
|
||||
private const int COLOR_COUNT_MIN = 1;
|
||||
|
||||
private const int COLOR_COUNT_MAX = 10;
|
||||
|
||||
private const int SECTION_INTERVAL = 8;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DColor;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f682c3bf7763ce948bde08702c888793
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyMobCyalume3DLightingData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public const float DEFAULT_GRADIATION = 0.05f;
|
||||
|
||||
public const float DEFAULT_RIMLIGHT = 6f;
|
||||
|
||||
public const float DEFAULT_BLEND_RANGE = 20f;
|
||||
|
||||
public float gradiation = 0.05f;
|
||||
|
||||
public float rimlight = 6f;
|
||||
|
||||
public float blendRange = 20f;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DLighting;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1525e0bd21720154480c5442e6d6d595
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyMobCyalume3DLookAtModeData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public LiveMobCyalume3DLookAtMode lookAtMode = LiveMobCyalume3DLookAtMode.Locator;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DLookAtMode;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f381fed1ce15064a8d931ff3b7b6ce5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyMobCyalume3DLookAtPositionData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Vector3 translate = Vector3.zero;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DLookAtPosition;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d3fdf46bb4eab0d4d9c8af48a558221e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyMobCyalume3DPositionData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public Vector3 translate = Vector3.zero;
|
||||
|
||||
public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DPosition;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b672eca15d5da8342a1d824509d8a81f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user