You can load LiveStage and LiveSheet now

This commit is contained in:
左右看
2022-09-04 09:59:21 +08:00
parent d7252c0db7
commit 10e3f51669
1039 changed files with 6166 additions and 34 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class A2U
{
public enum Blend
{
Normal = 0,
Add = 1,
Multiply = 2,
Screen = 3,
Overlay = 4
}
public enum Order
{
PreImageEffect = 0,
InImageEffect = 1,
PostImageEffect = 2
}
}
@@ -1,8 +1,7 @@
fileFormatVersion: 2
guid: 04878769c08021a41bc2d2375e23ec0b
timeCreated: 1482666371
licenseType: Store
guid: eaa5ee5165a2a114dad6e67c9e6d9ce4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
@@ -1,5 +0,0 @@
fileFormatVersion: 2
guid: e6ba56ede2604dd4082ed2d0b4f435dd
folderAsset: yes
DefaultImporter:
userData:
@@ -1,5 +0,0 @@
fileFormatVersion: 2
guid: 21a42390d25252341a66bc19a8addaea
folderAsset: yes
DefaultImporter:
userData:
File diff suppressed because it is too large Load Diff
@@ -1,4 +0,0 @@
fileFormatVersion: 2
guid: 902c84bf971339c459ce4b757e333a55
DefaultImporter:
userData:
@@ -1,63 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!850595691 &4890085278179872738
LightingSettings:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Demo1Settings
serializedVersion: 3
m_GIWorkflowMode: 1
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_RealtimeEnvironmentLighting: 1
m_BounceScale: 1
m_AlbedoBoost: 1
m_IndirectOutputScale: 1
m_UsingShadowmask: 0
m_BakeBackend: 0
m_LightmapMaxSize: 1024
m_BakeResolution: 50
m_Padding: 2
m_TextureCompression: 0
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 0
m_CompAOExponentDirect: 0
m_ExtractAO: 0
m_MixedBakeMode: 1
m_LightmapsBakeMode: 1
m_FilterMode: 1
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_RealtimeResolution: 1
m_ForceWhiteAlbedo: 0
m_ForceUpdates: 0
m_FinalGather: 0
m_FinalGatherRayCount: 1024
m_FinalGatherFiltering: 1
m_PVRCulling: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVREnvironmentSampleCount: 512
m_PVREnvironmentReferencePointCount: 2048
m_LightProbeSampleCountMultiplier: 4
m_PVRBounces: 2
m_PVRMinBounces: 2
m_PVREnvironmentMIS: 0
m_PVRFilteringMode: 0
m_PVRDenoiserTypeDirect: 0
m_PVRDenoiserTypeIndirect: 0
m_PVRDenoiserTypeAO: 0
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 4dd7bdf003c8b3944b71a7cc678a8079
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
userData:
assetBundleName:
assetBundleVariant:
@@ -1,54 +0,0 @@
using UnityEngine;
using System.Collections;
public class DynamicBoneDemo1 : MonoBehaviour
{
public GameObject m_Player;
float m_weight = 1;
float m_sleepTime;
void Update()
{
m_Player.transform.Rotate(new Vector3(0, Input.GetAxis("Horizontal") * Time.deltaTime * 200, 0));
m_Player.transform.Translate(transform.forward * Input.GetAxis("Vertical") * Time.deltaTime * 4);
}
void OnGUI()
{
float x = 50;
float y = 50;
float w1 = 100;
float w2 = 200;
float h = 24;
GUI.Label(new Rect(x, y, w2, h), "Press arrow key to move");
Animation a = m_Player.GetComponentInChildren<Animation>();
y += h;
a.enabled = GUI.Toggle(new Rect(x, y, w2, h), a.enabled, "Play Animation");
y += h * 2;
DynamicBone[] dbs = m_Player.GetComponents<DynamicBone>();
GUI.Label(new Rect(x, y, w2, h), "Choose dynamic bone:");
y += h;
dbs[0].enabled = dbs[1].enabled = GUI.Toggle(new Rect(x, y, w1, h), dbs[0].enabled, "Breasts");
y += h;
dbs[2].enabled = GUI.Toggle(new Rect(x, y, w1, h), dbs[2].enabled, "Tail");
y += h;
GUI.Label(new Rect(x, y, w2, h), "Weight");
m_weight = GUI.HorizontalSlider(new Rect(x + 50, y, w1, h), m_weight, 0, 1);
foreach (var db in dbs)
db.SetWeight(m_weight);
/*
y += h * 2;
GUI.Label(new Rect(x, y, w2, h), "Sleep");
m_sleepTime = GUI.HorizontalSlider(new Rect(x + 50, y, w1, h), m_sleepTime, 0, 1);
if (m_sleepTime > 0)
System.Threading.Thread.Sleep((int)(m_sleepTime * 100));
y += h;
GUI.Label(new Rect(x, y, w2, h), "Time Scale");
Time.timeScale = GUI.HorizontalSlider(new Rect(x + 80, y, w1, h), Time.timeScale, 0, 2);
*/
}
}
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 178320cedf292cb4f8d6c0b737b35953
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
Binary file not shown.
@@ -1,421 +0,0 @@
fileFormatVersion: 2
guid: ba128457d0ea5e3439dbe4a53b9d1273
ModelImporter:
serializedVersion: 16
fileIDToRecycleName:
100000: abdomen
100002: abdomen2
100004: //RootNode
100006: chest
100008: Genesis2Female
100010: Genesis2Female.Shape
100012: head
100014: hip
100016: lBigToe
100018: lCarpal1
100020: lCarpal2
100022: lCollar
100024: lEye
100026: lFoot
100028: lForeArm
100030: lHand
100032: lIndex1
100034: lIndex2
100036: lIndex3
100038: lMid1
100040: lMid2
100042: lMid3
100044: lowerJaw
100046: lPectoral
100048: lPinky1
100050: lPinky2
100052: lPinky3
100054: lRing1
100056: lRing2
100058: lRing3
100060: lShin
100062: lShldr
100064: lSmallToe1
100066: lSmallToe2
100068: lSmallToe3
100070: lSmallToe4
100072: lThigh
100074: lThumb1
100076: lThumb2
100078: lThumb3
100080: lToe
100082: neck
100084: pelvis
100086: rBigToe
100088: rCarpal1
100090: rCarpal2
100092: rCollar
100094: rEye
100096: rFoot
100098: rForeArm
100100: rHand
100102: rIndex1
100104: rIndex2
100106: rIndex3
100108: rMid1
100110: rMid2
100112: rMid3
100114: rPectoral
100116: rPinky1
100118: rPinky2
100120: rPinky3
100122: rRing1
100124: rRing2
100126: rRing3
100128: rShin
100130: rShldr
100132: rSmallToe1
100134: rSmallToe2
100136: rSmallToe3
100138: rSmallToe4
100140: rThigh
100142: rThumb1
100144: rThumb2
100146: rThumb3
100148: rToe
100150: tongue01
100152: tongue02
100154: tongue03
100156: tongue04
100158: tongue05
100160: tongueBase
100162: tongueTip
100164: upperJaw
400000: abdomen
400002: abdomen2
400004: //RootNode
400006: chest
400008: Genesis2Female
400010: Genesis2Female.Shape
400012: head
400014: hip
400016: lBigToe
400018: lCarpal1
400020: lCarpal2
400022: lCollar
400024: lEye
400026: lFoot
400028: lForeArm
400030: lHand
400032: lIndex1
400034: lIndex2
400036: lIndex3
400038: lMid1
400040: lMid2
400042: lMid3
400044: lowerJaw
400046: lPectoral
400048: lPinky1
400050: lPinky2
400052: lPinky3
400054: lRing1
400056: lRing2
400058: lRing3
400060: lShin
400062: lShldr
400064: lSmallToe1
400066: lSmallToe2
400068: lSmallToe3
400070: lSmallToe4
400072: lThigh
400074: lThumb1
400076: lThumb2
400078: lThumb3
400080: lToe
400082: neck
400084: pelvis
400086: rBigToe
400088: rCarpal1
400090: rCarpal2
400092: rCollar
400094: rEye
400096: rFoot
400098: rForeArm
400100: rHand
400102: rIndex1
400104: rIndex2
400106: rIndex3
400108: rMid1
400110: rMid2
400112: rMid3
400114: rPectoral
400116: rPinky1
400118: rPinky2
400120: rPinky3
400122: rRing1
400124: rRing2
400126: rRing3
400128: rShin
400130: rShldr
400132: rSmallToe1
400134: rSmallToe2
400136: rSmallToe3
400138: rSmallToe4
400140: rThigh
400142: rThumb1
400144: rThumb2
400146: rThumb3
400148: rToe
400150: tongue01
400152: tongue02
400154: tongue03
400156: tongue04
400158: tongue05
400160: tongueBase
400162: tongueTip
400164: upperJaw
4300000: Genesis2Female.Shape
7400000: Animation
9500000: //RootNode
11100000: //RootNode
13700000: Genesis2Female.Shape
materials:
importMaterials: 0
materialName: 0
materialSearch: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
optimizeGameObjects: 0
animationCompression: 2
animationRotationError: .5
animationPositionError: .5
animationScaleError: .5
animationWrapMode: 0
extraExposedTransformPaths: []
clipAnimations:
- serializedVersion: 16
name: Animation
takeName: Animation
firstFrame: 0
lastFrame: 206
wrapMode: 2
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
loopTime: 0
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask:
- path:
weight: 1
- path: Genesis2Female
weight: 1
- path: Genesis2Female/Genesis2Female.Shape
weight: 1
- path: Genesis2Female/hip
weight: 1
- path: Genesis2Female/hip/abdomen
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal1/lIndex1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal1/lIndex1/lIndex2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal1/lIndex1/lIndex2/lIndex3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal1/lMid1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal1/lMid1/lMid2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal1/lMid1/lMid2/lMid3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal2/lPinky1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal2/lPinky1/lPinky2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal2/lPinky1/lPinky2/lPinky3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal2/lRing1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal2/lRing1/lRing2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lCarpal2/lRing1/lRing2/lRing3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lThumb1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lThumb1/lThumb2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lCollar/lShldr/lForeArm/lHand/lThumb1/lThumb2/lThumb3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/lPectoral
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lEye
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw/tongueBase
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw/tongueBase/tongue01
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw/tongueBase/tongue01/tongue02
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw/tongueBase/tongue01/tongue02/tongue03
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw/tongueBase/tongue01/tongue02/tongue03/tongue04
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw/tongueBase/tongue01/tongue02/tongue03/tongue04/tongue05
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/lowerJaw/tongueBase/tongue01/tongue02/tongue03/tongue04/tongue05/tongueTip
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/rEye
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/neck/head/upperJaw
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal1/rIndex1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal1/rIndex1/rIndex2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal1/rIndex1/rIndex2/rIndex3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal1/rMid1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal1/rMid1/rMid2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal1/rMid1/rMid2/rMid3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal2/rPinky1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal2/rPinky1/rPinky2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal2/rPinky1/rPinky2/rPinky3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal2/rRing1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal2/rRing1/rRing2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rCarpal2/rRing1/rRing2/rRing3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rThumb1
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rThumb1/rThumb2
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rCollar/rShldr/rForeArm/rHand/rThumb1/rThumb2/rThumb3
weight: 1
- path: Genesis2Female/hip/abdomen/abdomen2/chest/rPectoral
weight: 1
- path: Genesis2Female/hip/pelvis
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin/lFoot
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin/lFoot/lToe
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin/lFoot/lToe/lBigToe
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin/lFoot/lToe/lSmallToe1
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin/lFoot/lToe/lSmallToe2
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin/lFoot/lToe/lSmallToe3
weight: 1
- path: Genesis2Female/hip/pelvis/lThigh/lShin/lFoot/lToe/lSmallToe4
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin/rFoot
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin/rFoot/rToe
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin/rFoot/rToe/rBigToe
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin/rFoot/rToe/rSmallToe1
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin/rFoot/rToe/rSmallToe2
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin/rFoot/rToe/rSmallToe3
weight: 1
- path: Genesis2Female/hip/pelvis/rThigh/rShin/rFoot/rToe/rSmallToe4
weight: 1
maskType: 0
maskSource: {instanceID: 0}
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: .00999999978
meshCompression: 0
addColliders: 0
importBlendShapes: 0
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
optimizeMeshForGPU: 1
weldVertices: 1
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
tangentSpace:
normalSmoothAngle: 60
splitTangentsAcrossUV: 1
normalImportMode: 0
tangentImportMode: 2
importAnimation: 1
copyAvatar: 0
humanDescription:
human: []
skeleton: []
armTwist: .5
foreArmTwist: .5
upperLegTwist: .5
legTwist: .5
armStretch: .0500000007
legStretch: .0500000007
feetSpacing: 0
rootMotionBoneName:
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 1
additionalBone: 0
userData:
Binary file not shown.
@@ -1,98 +0,0 @@
fileFormatVersion: 2
guid: 19015a5957bbaa745a61cba005220542
ModelImporter:
serializedVersion: 16
fileIDToRecycleName:
100000: Bone01
100002: Bone02
100004: Bone03
100006: Bone04
100008: Bone05
100010: Bone06
100012: Bone07
100014: Bone08
100016: //RootNode
100018: tail
100020: tail1
100022: tail2
100024: tail3
100026: tail4
100028: tail5
100030: tail6
100032: tail7
100034: tail8
400000: Bone01
400002: Bone02
400004: Bone03
400006: Bone04
400008: Bone05
400010: Bone06
400012: Bone07
400014: Bone08
400016: //RootNode
400018: tail
400020: tail1
400022: tail2
400024: tail3
400026: tail4
400028: tail5
400030: tail6
400032: tail7
400034: tail8
4300000: tail
9500000: //RootNode
11100000: //RootNode
13700000: tail
materials:
importMaterials: 0
materialName: 0
materialSearch: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
optimizeGameObjects: 0
animationCompression: 1
animationRotationError: .5
animationPositionError: .5
animationScaleError: .5
animationWrapMode: 0
extraExposedTransformPaths: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: .00999999978
meshCompression: 0
addColliders: 0
importBlendShapes: 0
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
optimizeMeshForGPU: 1
weldVertices: 1
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
tangentSpace:
normalSmoothAngle: 60
splitTangentsAcrossUV: 1
normalImportMode: 0
tangentImportMode: 2
importAnimation: 0
copyAvatar: 0
humanDescription:
human: []
skeleton: []
armTwist: .5
foreArmTwist: .5
upperLegTwist: .5
legTwist: .5
armStretch: .0500000007
legStretch: .0500000007
feetSpacing: 0
rootMotionBoneName:
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 1
additionalBone: 0
userData:
@@ -1,143 +0,0 @@
Dynamic Bone apply physics to character's bones or joints.
With simple setup, your character's hair, cloth, breasts or any part will move realistically.
Open Assets/DynamicBone/Demo/Demo1 to see how it works.
If you have any questions or suggestions, please contact willhongcom@gmail.com.
-------------------------------------------------------------------------
Basic setup:
1. Prepare a properly setup character, both Mecanim and legacy rigs are supported.
2. Select the game object you want to apply Dynamic Bone.
3. In the component menu, select Dynamic Bone -> Dynamic Bone.
4. In the inspector, select root object.
5. Adjust dynamic bone parameters (see detail descriptions in the following section).
You can add collider objects if required:
1. Select game object the collider will attached.
2. In the component menu, select Dynamic Bone -> Dynamic Bone Collider.
3. Adjust position and size of the collider.
4. In Dynamic Bone component, increase size of colliders and append corresponding object.
-------------------------------------------------------------------------
Dynamic Bone component description:
- Root
The root of the transform hierarchy to apply physics.
- Update Rate
Internal physics simulation rate, measures in frames per seconds.
- Update Mode
Normal: Update physics in fixed timestamp as specified rate.
AnimatePhysics: Updates during the physic loop in order to synchronized with the physics engine.
UnscaledTime: Updates independently of Time.timeScale.
Default: Update physics every frame instead of specified rate, recommended.
- Damping
How much the bones slowed down.
- Elasticity
How much the force applied to return each bone to original orientation.
- Stiffness
How much bone's original orientation are preserved.
- Inert
How much character's position change is ignored in physics simulation.
- Friction
How much the bones slowed down when collide.
- Radius
Each bone can be a sphere to collide with colliders. Radius describe sphere's size.
- Damping Distrib, Elasticity Distrib, Stiffness Distrib, Inert Distrib, Radius Distrib
How parameters change over hierarchy chain. Curve values are multiplied to corresponding parameters.
- End Length
If End Length is not zero, an extra bone is generated at the end of transform hierarchy,
length is multiplied by last two bone's distance.
- End Offset
If End Offset is not zero, an extra bone is generated at the end of transform hierarchy,
offset is in character's local space.
- Gravity
The force apply to bones, in world space. Partial force apply to character's initial pose is cancelled out.
- Force
The force apply to bones, in world space.
- Colliders
Collider objects interact with the bones.
- Exclusions
Bones exclude from physics simulation.
- Freeze Axis
Constrain bones to move on specified plane.
- Distant Disable, Reference Object, Distance To Object
Disable physics simulation automatically if character is far from camera or player.
If there is no reference object, default main camera is used.
Dynamic Bone Collider component description:
- Center
The center of the sphere or capsule, in the object's local space.
- Radius
The radius of the sphere or capsule, will be scaled by the transform's scale.
- Height
The height of the capsule, including two half-spheres, will be scaled by the transform's scale.
- Direction
The axis of the capsule's height.
- Bound
Constrain bones to outside bound or inside bound.
-------------------------------------------------------------------------
Dynamic Bone script reference:
- public void SetWeight(float w);
Control how physics blend with existing animation.
- public void UpdateParameters();
Update parameters at runtime, call this funtion after modifing parameters.
-------------------------------------------------------------------------
Version History
1.0.1 Initial release.
1.0.2 Improve inspector UI.
1.0.3 Fix inert unstable when enabled / disabled.
1.1.0 Use curve to setup parameters over hierarchy chain.
Collider can configured to constrain bones inside bound.
1.1.1 Add exclusion setting.
1.1.2 Deal with negative scale problem.
1.1.3 Fix bug with bones contain scale.
1.1.4 Add freeze axis.
Fix bug when added via script.
1.1.5 Add distant disable.
Reduce GC alloc.
1.1.6 Fix capsule collider bug.
1.1.7 Unity 5 support.
1.1.8 Fix problems caused by negative scale.
1.1.9 Improve detecting negative scale.
Fix bug if collider is set as inside.
Add UpdateMode setting.
1.1.10 Fix problems caused by negative scale after Unity 5.4.
1.2.0 Add tool tips.
Add plane collider.
Add function to update parameters at runtime.
1.2.1 Add friction parameter.
Update UNITY_5 to compatible with newer version.
1.2.2 Add "Default" update mode, fix some jitter issue.
@@ -1,4 +0,0 @@
fileFormatVersion: 2
guid: bdbe6feeda2a62b45ad9a4e311031478
TextScriptImporter:
userData:
@@ -1,5 +0,0 @@
fileFormatVersion: 2
guid: 993edbffbda2d3e4abd24f1bf074c5f2
folderAsset: yes
DefaultImporter:
userData:
@@ -1,713 +0,0 @@
using UnityEngine;
using System.Collections.Generic;
[AddComponentMenu("Dynamic Bone/Dynamic Bone")]
public class DynamicBone : MonoBehaviour
{
#if UNITY_5_3_OR_NEWER
[Tooltip("The root of the transform hierarchy to apply physics.")]
#endif
public Transform m_Root = null;
#if UNITY_5_3_OR_NEWER
[Tooltip("Internal physics simulation rate.")]
#endif
public float m_UpdateRate = 60.0f;
public enum UpdateMode
{
Normal,
AnimatePhysics,
UnscaledTime,
Default
}
public UpdateMode m_UpdateMode = UpdateMode.Default;
#if UNITY_5_3_OR_NEWER
[Tooltip("How much the bones slowed down.")]
#endif
[Range(0, 1)]
public float m_Damping = 0.1f;
public AnimationCurve m_DampingDistrib = null;
#if UNITY_5_3_OR_NEWER
[Tooltip("How much the force applied to return each bone to original orientation.")]
#endif
[Range(0, 1)]
public float m_Elasticity = 0.1f;
public AnimationCurve m_ElasticityDistrib = null;
#if UNITY_5_3_OR_NEWER
[Tooltip("How much bone's original orientation are preserved.")]
#endif
[Range(0, 1)]
public float m_Stiffness = 0.1f;
public AnimationCurve m_StiffnessDistrib = null;
#if UNITY_5_3_OR_NEWER
[Tooltip("How much character's position change is ignored in physics simulation.")]
#endif
[Range(0, 1)]
public float m_Inert = 0;
public AnimationCurve m_InertDistrib = null;
#if UNITY_5_3_OR_NEWER
[Tooltip("How much the bones slowed down when collide.")]
#endif
public float m_Friction = 0;
public AnimationCurve m_FrictionDistrib = null;
#if UNITY_5_3_OR_NEWER
[Tooltip("Each bone can be a sphere to collide with colliders. Radius describe sphere's size.")]
#endif
public float m_Radius = 0;
public AnimationCurve m_RadiusDistrib = null;
#if UNITY_5_3_OR_NEWER
[Tooltip("If End Length is not zero, an extra bone is generated at the end of transform hierarchy.")]
#endif
public float m_EndLength = 0;
#if UNITY_5_3_OR_NEWER
[Tooltip("If End Offset is not zero, an extra bone is generated at the end of transform hierarchy.")]
#endif
public Vector3 m_EndOffset = Vector3.zero;
#if UNITY_5_3_OR_NEWER
[Tooltip("The force apply to bones. Partial force apply to character's initial pose is cancelled out.")]
#endif
public Vector3 m_Gravity = Vector3.zero;
#if UNITY_5_3_OR_NEWER
[Tooltip("The force apply to bones.")]
#endif
public Vector3 m_Force = Vector3.zero;
#if UNITY_5_3_OR_NEWER
[Tooltip("Bones exclude from physics simulation.")]
#endif
public List<Transform> m_Exclusions = null;
public enum FreezeAxis
{
None, X, Y, Z
}
#if UNITY_5_3_OR_NEWER
[Tooltip("Constrain bones to move on specified plane.")]
#endif
public FreezeAxis m_FreezeAxis = FreezeAxis.None;
#if UNITY_5_3_OR_NEWER
[Tooltip("Disable physics simulation automatically if character is far from camera or player.")]
#endif
public bool m_DistantDisable = false;
public Transform m_ReferenceObject = null;
public float m_DistanceToObject = 20;
public List<Particle> Particles = new List<Particle>();
Vector3 m_LocalGravity = Vector3.zero;
Vector3 m_ObjectMove = Vector3.zero;
Vector3 m_ObjectPrevPosition = Vector3.zero;
float m_BoneTotalLength = 0;
float m_ObjectScale = 1.0f;
float m_Time = 0;
float m_Weight = 1.0f;
bool m_DistantDisabled = false;
public class Particle
{
public List<DynamicBoneColliderBase> m_Colliders = new List<DynamicBoneColliderBase>();
public Transform m_Transform = null;
public int m_ParentIndex = -1;
public float m_Damping = 0;
public float m_Elasticity = 0;
public float m_Stiffness = 0;
public float m_Inert = 0;
public float m_Friction = 0;
public float m_Radius = 0;
public float m_BoneLength = 0;
public bool m_isCollide = false;
public Vector3 m_Position = Vector3.zero;
public Vector3 m_PrevPosition = Vector3.zero;
public Vector3 m_EndOffset = Vector3.zero;
public Vector3 m_InitLocalPosition = Vector3.zero;
public Quaternion m_InitLocalRotation = Quaternion.identity;
}
void Awake()
{
//SetupParticles();
}
void FixedUpdate()
{
if (m_UpdateMode == UpdateMode.AnimatePhysics)
PreUpdate();
}
void Update()
{
if (m_UpdateMode != UpdateMode.AnimatePhysics)
PreUpdate();
}
void LateUpdate()
{
if (m_DistantDisable)
CheckDistance();
if (m_Weight > 0 && !(m_DistantDisable && m_DistantDisabled))
{
#if UNITY_5_3_OR_NEWER
float dt = m_UpdateMode == UpdateMode.UnscaledTime ? Time.unscaledDeltaTime : Time.deltaTime;
#else
float dt = Time.deltaTime;
#endif
UpdateDynamicBones(dt);
}
}
void PreUpdate()
{
if (m_Weight > 0 && !(m_DistantDisable && m_DistantDisabled))
InitTransforms();
}
void CheckDistance()
{
Transform rt = m_ReferenceObject;
if (rt == null && Camera.main != null)
rt = Camera.main.transform;
if (rt != null)
{
float d = (rt.position - transform.position).sqrMagnitude;
bool disable = d > m_DistanceToObject * m_DistanceToObject;
if (disable != m_DistantDisabled)
{
if (!disable)
ResetParticlesPosition();
m_DistantDisabled = disable;
}
}
}
void OnEnable()
{
ResetParticlesPosition();
}
void OnDisable()
{
InitTransforms();
}
void OnValidate()
{
m_UpdateRate = Mathf.Max(m_UpdateRate, 0);
m_Damping = Mathf.Clamp01(m_Damping);
m_Elasticity = Mathf.Clamp01(m_Elasticity);
m_Stiffness = Mathf.Clamp01(m_Stiffness);
m_Inert = Mathf.Clamp01(m_Inert);
m_Friction = Mathf.Clamp01(m_Friction);
m_Radius = Mathf.Max(m_Radius, 0);
if (Application.isEditor && Application.isPlaying)
{
InitTransforms();
SetupParticles();
}
}
void OnDrawGizmosSelected()
{
if (!enabled || m_Root == null)
return;
if (Application.isEditor && !Application.isPlaying && transform.hasChanged)
{
InitTransforms();
SetupParticles();
}
Gizmos.color = Color.white;
for (int i = 0; i < Particles.Count; ++i)
{
Particle p = Particles[i];
if (p.m_ParentIndex >= 0)
{
Particle p0 = Particles[p.m_ParentIndex];
Gizmos.DrawLine(p.m_Position, p0.m_Position);
}
if (p.m_Radius > 0)
Gizmos.DrawWireSphere(p.m_Position, p.m_Radius * m_ObjectScale);
}
}
public void SetWeight(float w)
{
if (m_Weight != w)
{
if (w == 0)
InitTransforms();
else if (m_Weight == 0)
ResetParticlesPosition();
m_Weight = w;
}
}
public float GetWeight()
{
return m_Weight;
}
void UpdateDynamicBones(float t)
{
if (m_Root == null)
return;
m_ObjectScale = Mathf.Abs(transform.lossyScale.x);
m_ObjectMove = transform.position - m_ObjectPrevPosition;
m_ObjectPrevPosition = transform.position;
int loop = 1;
float timeVar = 1;
if (m_UpdateMode == UpdateMode.Default)
{
if (m_UpdateRate > 0)
{
timeVar = Time.deltaTime * m_UpdateRate;
}
else
{
timeVar = Time.deltaTime;
}
}
else
{
if (m_UpdateRate > 0)
{
float dt = 1.0f / m_UpdateRate;
m_Time += t;
loop = 0;
while (m_Time >= dt)
{
m_Time -= dt;
if (++loop >= 3)
{
m_Time = 0;
break;
}
}
}
}
if (loop > 0)
{
for (int i = 0; i < loop; ++i)
{
UpdateParticles1(timeVar);
UpdateParticles2(timeVar);
m_ObjectMove = Vector3.zero;
}
}
else
{
SkipUpdateParticles();
}
ApplyParticlesToTransforms();
}
public void SetupParticles()
{
Particles.Clear();
if (m_Root == null)
return;
m_LocalGravity = m_Root.InverseTransformDirection(m_Gravity);
m_ObjectScale = Mathf.Abs(transform.lossyScale.x);
m_ObjectPrevPosition = transform.position;
m_ObjectMove = Vector3.zero;
m_BoneTotalLength = 0;
AppendParticles(m_Root, -1, 0);
UpdateParameters();
}
void AppendParticles(Transform b, int parentIndex, float boneLength)
{
Particle p = new Particle();
p.m_Transform = b;
p.m_ParentIndex = parentIndex;
if (b != null)
{
p.m_Position = p.m_PrevPosition = b.position;
p.m_InitLocalPosition = b.localPosition;
p.m_InitLocalRotation = b.localRotation;
}
else // end bone
{
Transform pb = Particles[parentIndex].m_Transform;
if (m_EndLength > 0)
{
Transform ppb = pb.parent;
if (ppb != null)
p.m_EndOffset = pb.InverseTransformPoint((pb.position * 2 - ppb.position)) * m_EndLength;
else
p.m_EndOffset = new Vector3(m_EndLength, 0, 0);
}
else
{
p.m_EndOffset = pb.InverseTransformPoint(transform.TransformDirection(m_EndOffset) + pb.position);
}
p.m_Position = p.m_PrevPosition = pb.TransformPoint(p.m_EndOffset);
}
if (parentIndex >= 0)
{
boneLength += (Particles[parentIndex].m_Transform.position - p.m_Position).magnitude;
p.m_BoneLength = boneLength;
m_BoneTotalLength = Mathf.Max(m_BoneTotalLength, boneLength);
}
int index = Particles.Count;
Particles.Add(p);
if (b != null)
{
for (int i = 0; i < b.childCount; ++i)
{
Transform child = b.GetChild(i);
bool exclude = false;
if (m_Exclusions != null)
{
exclude = m_Exclusions.Contains(child);
}
if (!exclude)
AppendParticles(child, index, boneLength);
else if (m_EndLength > 0 || m_EndOffset != Vector3.zero)
AppendParticles(null, index, boneLength);
}
if (b.childCount == 0 && (m_EndLength > 0 || m_EndOffset != Vector3.zero))
AppendParticles(null, index, boneLength);
}
}
public void UpdateParameters()
{
if (m_Root == null)
return;
m_LocalGravity = m_Root.InverseTransformDirection(m_Gravity);
for (int i = 0; i < Particles.Count; ++i)
{
Particle p = Particles[i];
p.m_Damping = m_Damping;
p.m_Elasticity = m_Elasticity;
p.m_Stiffness = m_Stiffness;
p.m_Inert = m_Inert;
p.m_Friction = m_Friction;
p.m_Radius = m_Radius;
if (m_BoneTotalLength > 0)
{
float a = p.m_BoneLength / m_BoneTotalLength;
if (m_DampingDistrib != null && m_DampingDistrib.keys.Length > 0)
p.m_Damping *= m_DampingDistrib.Evaluate(a);
if (m_ElasticityDistrib != null && m_ElasticityDistrib.keys.Length > 0)
p.m_Elasticity *= m_ElasticityDistrib.Evaluate(a);
if (m_StiffnessDistrib != null && m_StiffnessDistrib.keys.Length > 0)
p.m_Stiffness *= m_StiffnessDistrib.Evaluate(a);
if (m_InertDistrib != null && m_InertDistrib.keys.Length > 0)
p.m_Inert *= m_InertDistrib.Evaluate(a);
if (m_FrictionDistrib != null && m_FrictionDistrib.keys.Length > 0)
p.m_Friction *= m_FrictionDistrib.Evaluate(a);
if (m_RadiusDistrib != null && m_RadiusDistrib.keys.Length > 0)
p.m_Radius *= m_RadiusDistrib.Evaluate(a);
}
p.m_Damping = Mathf.Clamp01(p.m_Damping);
p.m_Elasticity = Mathf.Clamp01(p.m_Elasticity);
p.m_Stiffness = Mathf.Clamp01(p.m_Stiffness);
p.m_Inert = Mathf.Clamp01(p.m_Inert);
p.m_Friction = Mathf.Clamp01(p.m_Friction);
p.m_Radius = Mathf.Max(p.m_Radius, 0);
}
}
void InitTransforms()
{
for (int i = 0; i < Particles.Count; ++i)
{
Particle p = Particles[i];
if (p.m_Transform != null)
{
p.m_Transform.localPosition = p.m_InitLocalPosition;
p.m_Transform.localRotation = p.m_InitLocalRotation;
}
}
}
public void ResetParticlesPosition()
{
for (int i = 0; i < Particles.Count; ++i)
{
Particle p = Particles[i];
if (p.m_Transform != null)
{
p.m_Position = p.m_PrevPosition = p.m_Transform.position;
}
else // end bone
{
Transform pb = Particles[p.m_ParentIndex].m_Transform;
p.m_Position = p.m_PrevPosition = pb.TransformPoint(p.m_EndOffset);
}
p.m_isCollide = false;
}
m_ObjectPrevPosition = transform.position;
}
void UpdateParticles1(float timeVar)
{
Vector3 force = m_Gravity;
Vector3 fdir = m_Gravity.normalized;
Vector3 rf = m_Root.TransformDirection(m_LocalGravity);
Vector3 pf = fdir * Mathf.Max(Vector3.Dot(rf, fdir), 0); // project current gravity to rest gravity
force -= pf; // remove projected gravity
force = (force + m_Force) * (m_ObjectScale * timeVar);
for (int i = 0; i < Particles.Count; ++i)
{
Particle p = Particles[i];
if (p.m_ParentIndex >= 0)
{
// verlet integration
Vector3 v = p.m_Position - p.m_PrevPosition;
Vector3 rmove = m_ObjectMove * p.m_Inert;
p.m_PrevPosition = p.m_Position + rmove;
float damping = p.m_Damping;
if (p.m_isCollide)
{
damping += p.m_Friction;
if (damping > 1)
damping = 1;
p.m_isCollide = false;
}
p.m_Position += v * (1 - damping) + force + rmove;
}
else
{
p.m_PrevPosition = p.m_Position;
p.m_Position = p.m_Transform.position;
}
}
}
void UpdateParticles2(float timeVar)
{
Plane movePlane = new Plane();
for (int i = 1; i < Particles.Count; ++i)
{
Particle p = Particles[i];
Particle p0 = Particles[p.m_ParentIndex];
float restLen;
if (p.m_Transform != null)
restLen = (p0.m_Transform.position - p.m_Transform.position).magnitude;
else
restLen = p0.m_Transform.localToWorldMatrix.MultiplyVector(p.m_EndOffset).magnitude;
// keep shape
float stiffness = Mathf.Lerp(1.0f, p.m_Stiffness, m_Weight);
if (stiffness > 0 || p.m_Elasticity > 0)
{
Matrix4x4 m0 = p0.m_Transform.localToWorldMatrix;
m0.SetColumn(3, p0.m_Position);
Vector3 restPos;
if (p.m_Transform != null)
restPos = m0.MultiplyPoint3x4(p.m_Transform.localPosition);
else
restPos = m0.MultiplyPoint3x4(p.m_EndOffset);
Vector3 d = restPos - p.m_Position;
p.m_Position += d * (p.m_Elasticity * timeVar);
if (stiffness > 0)
{
d = restPos - p.m_Position;
float len = d.magnitude;
float maxlen = restLen * (1 - stiffness) * 2;
if (len > maxlen)
p.m_Position += d * ((len - maxlen) / len);
}
}
// collide
if (p.m_Colliders != null)
{
float particleRadius = p.m_Radius * m_ObjectScale;
for (int j = 0; j < p.m_Colliders.Count; ++j)
{
DynamicBoneColliderBase c = p.m_Colliders[j];
if (c != null && c.enabled)
p.m_isCollide |= c.Collide(ref p.m_Position, particleRadius);
}
}
// freeze axis, project to plane
if (m_FreezeAxis != FreezeAxis.None)
{
switch (m_FreezeAxis)
{
case FreezeAxis.X:
movePlane.SetNormalAndPosition(p0.m_Transform.right, p0.m_Position);
break;
case FreezeAxis.Y:
movePlane.SetNormalAndPosition(p0.m_Transform.up, p0.m_Position);
break;
case FreezeAxis.Z:
movePlane.SetNormalAndPosition(p0.m_Transform.forward, p0.m_Position);
break;
}
p.m_Position -= movePlane.normal * movePlane.GetDistanceToPoint(p.m_Position);
}
// keep length
Vector3 dd = p0.m_Position - p.m_Position;
float leng = dd.magnitude;
if (leng > 0)
p.m_Position += dd * ((leng - restLen) / leng);
}
}
// only update stiffness and keep bone length
void SkipUpdateParticles()
{
for (int i = 0; i < Particles.Count; ++i)
{
Particle p = Particles[i];
if (p.m_ParentIndex >= 0)
{
p.m_PrevPosition += m_ObjectMove;
p.m_Position += m_ObjectMove;
Particle p0 = Particles[p.m_ParentIndex];
float restLen;
if (p.m_Transform != null)
restLen = (p0.m_Transform.position - p.m_Transform.position).magnitude;
else
restLen = p0.m_Transform.localToWorldMatrix.MultiplyVector(p.m_EndOffset).magnitude;
// keep shape
float stiffness = Mathf.Lerp(1.0f, p.m_Stiffness, m_Weight);
if (stiffness > 0)
{
Matrix4x4 m0 = p0.m_Transform.localToWorldMatrix;
m0.SetColumn(3, p0.m_Position);
Vector3 restPos;
if (p.m_Transform != null)
restPos = m0.MultiplyPoint3x4(p.m_Transform.localPosition);
else
restPos = m0.MultiplyPoint3x4(p.m_EndOffset);
Vector3 d = restPos - p.m_Position;
float len = d.magnitude;
float maxlen = restLen * (1 - stiffness) * 2;
if (len > maxlen)
p.m_Position += d * ((len - maxlen) / len);
}
// keep length
Vector3 dd = p0.m_Position - p.m_Position;
float leng = dd.magnitude;
if (leng > 0)
p.m_Position += dd * ((leng - restLen) / leng);
}
else
{
p.m_PrevPosition = p.m_Position;
p.m_Position = p.m_Transform.position;
}
}
}
static Vector3 MirrorVector(Vector3 v, Vector3 axis)
{
return v - axis * (Vector3.Dot(v, axis) * 2);
}
void ApplyParticlesToTransforms()
{
#if !UNITY_5_4_OR_NEWER
// detect negative scale
Vector3 ax = Vector3.right;
Vector3 ay = Vector3.up;
Vector3 az = Vector3.forward;
bool nx = false, ny = false, nz = false;
Vector3 loosyScale = transform.lossyScale;
if (loosyScale.x < 0 || loosyScale.y < 0 || loosyScale.z < 0)
{
Transform mirrorObject = transform;
do
{
Vector3 ls = mirrorObject.localScale;
nx = ls.x < 0;
if (nx)
ax = mirrorObject.right;
ny = ls.y < 0;
if (ny)
ay = mirrorObject.up;
nz = ls.z < 0;
if (nz)
az = mirrorObject.forward;
if (nx || ny || nz)
break;
mirrorObject = mirrorObject.parent;
}
while (mirrorObject != null);
}
#endif
for (int i = 1; i < Particles.Count; ++i)
{
Particle p = Particles[i];
Particle p0 = Particles[p.m_ParentIndex];
if (p0.m_Transform.childCount <= 1) // do not modify bone orientation if has more then one child
{
Vector3 v;
if (p.m_Transform != null)
v = p.m_Transform.localPosition;
else
v = p.m_EndOffset;
Vector3 v2 = p.m_Position - p0.m_Position;
#if !UNITY_5_4_OR_NEWER
if (nx)
v2 = MirrorVector(v2, ax);
if (ny)
v2 = MirrorVector(v2, ay);
if (nz)
v2 = MirrorVector(v2, az);
#endif
Quaternion rot = Quaternion.FromToRotation(p0.m_Transform.TransformDirection(v), v2);
p0.m_Transform.rotation = rot * p0.m_Transform.rotation;
}
if (p.m_Transform != null)
p.m_Transform.position = p.m_Position;
}
}
}
@@ -1,235 +0,0 @@
using UnityEngine;
[AddComponentMenu("Dynamic Bone/Dynamic Bone Collider")]
public class DynamicBoneCollider : DynamicBoneColliderBase
{
#if UNITY_5_3_OR_NEWER
[Tooltip("The radius of the sphere or capsule.")]
#endif
public float m_Radius = 0.5f;
#if UNITY_5_3_OR_NEWER
[Tooltip("The height of the capsule.")]
#endif
public float m_Height = 0;
void OnValidate()
{
m_Radius = Mathf.Max(m_Radius, 0);
m_Height = Mathf.Max(m_Height, 0);
}
public override bool Collide(ref Vector3 particlePosition, float particleRadius)
{
float radius = m_Radius * Mathf.Abs(transform.lossyScale.x);
float h = m_Height * 0.5f - m_Radius;
if (h <= 0)
{
if (m_Bound == Bound.Outside)
return OutsideSphere(ref particlePosition, particleRadius, transform.TransformPoint(m_Center), radius);
else
return InsideSphere(ref particlePosition, particleRadius, transform.TransformPoint(m_Center), radius);
}
else
{
Vector3 c0 = m_Center;
Vector3 c1 = m_Center;
switch (m_Direction)
{
case Direction.X:
c0.x -= h;
c1.x += h;
break;
case Direction.Y:
c0.y -= h;
c1.y += h;
break;
case Direction.Z:
c0.z -= h;
c1.z += h;
break;
}
if (m_Bound == Bound.Outside)
return OutsideCapsule(ref particlePosition, particleRadius, transform.TransformPoint(c0), transform.TransformPoint(c1), radius);
else
return InsideCapsule(ref particlePosition, particleRadius, transform.TransformPoint(c0), transform.TransformPoint(c1), radius);
}
}
static bool OutsideSphere(ref Vector3 particlePosition, float particleRadius, Vector3 sphereCenter, float sphereRadius)
{
float r = sphereRadius + particleRadius;
float r2 = r * r;
Vector3 d = particlePosition - sphereCenter;
float len2 = d.sqrMagnitude;
// if is inside sphere, project onto sphere surface
if (len2 > 0 && len2 < r2)
{
float len = Mathf.Sqrt(len2);
particlePosition = sphereCenter + d * (r / len);
return true;
}
return false;
}
static bool InsideSphere(ref Vector3 particlePosition, float particleRadius, Vector3 sphereCenter, float sphereRadius)
{
float r = sphereRadius - particleRadius;
float r2 = r * r;
Vector3 d = particlePosition - sphereCenter;
float len2 = d.sqrMagnitude;
// if is outside sphere, project onto sphere surface
if (len2 > r2)
{
float len = Mathf.Sqrt(len2);
particlePosition = sphereCenter + d * (r / len);
return true;
}
return false;
}
static bool OutsideCapsule(ref Vector3 particlePosition, float particleRadius, Vector3 capsuleP0, Vector3 capsuleP1, float capsuleRadius)
{
float r = capsuleRadius + particleRadius;
float r2 = r * r;
Vector3 dir = capsuleP1 - capsuleP0;
Vector3 d = particlePosition - capsuleP0;
float t = Vector3.Dot(d, dir);
if (t <= 0)
{
// check sphere1
float len2 = d.sqrMagnitude;
if (len2 > 0 && len2 < r2)
{
float len = Mathf.Sqrt(len2);
particlePosition = capsuleP0 + d * (r / len);
return true;
}
}
else
{
float dl = dir.sqrMagnitude;
if (t >= dl)
{
// check sphere2
d = particlePosition - capsuleP1;
float len2 = d.sqrMagnitude;
if (len2 > 0 && len2 < r2)
{
float len = Mathf.Sqrt(len2);
particlePosition = capsuleP1 + d * (r / len);
return true;
}
}
else if (dl > 0)
{
// check cylinder
t /= dl;
d -= dir * t;
float len2 = d.sqrMagnitude;
if (len2 > 0 && len2 < r2)
{
float len = Mathf.Sqrt(len2);
particlePosition += d * ((r - len) / len);
return true;
}
}
}
return false;
}
static bool InsideCapsule(ref Vector3 particlePosition, float particleRadius, Vector3 capsuleP0, Vector3 capsuleP1, float capsuleRadius)
{
float r = capsuleRadius - particleRadius;
float r2 = r * r;
Vector3 dir = capsuleP1 - capsuleP0;
Vector3 d = particlePosition - capsuleP0;
float t = Vector3.Dot(d, dir);
if (t <= 0)
{
// check sphere1
float len2 = d.sqrMagnitude;
if (len2 > r2)
{
float len = Mathf.Sqrt(len2);
particlePosition = capsuleP0 + d * (r / len);
return true;
}
}
else
{
float dl = dir.sqrMagnitude;
if (t >= dl)
{
// check sphere2
d = particlePosition - capsuleP1;
float len2 = d.sqrMagnitude;
if (len2 > r2)
{
float len = Mathf.Sqrt(len2);
particlePosition = capsuleP1 + d * (r / len);
return true;
}
}
else if (dl > 0)
{
// check cylinder
t /= dl;
d -= dir * t;
float len2 = d.sqrMagnitude;
if (len2 > r2)
{
float len = Mathf.Sqrt(len2);
particlePosition += d * ((r - len) / len);
return true;
}
}
}
return false;
}
void OnDrawGizmosSelected()
{
if (!enabled)
return;
if (m_Bound == Bound.Outside)
Gizmos.color = Color.yellow;
else
Gizmos.color = Color.magenta;
float radius = m_Radius * Mathf.Abs(transform.lossyScale.x);
float h = m_Height * 0.5f - m_Radius;
if (h <= 0)
{
Gizmos.DrawWireSphere(transform.TransformPoint(m_Center), radius);
}
else
{
Vector3 c0 = m_Center;
Vector3 c1 = m_Center;
switch (m_Direction)
{
case Direction.X:
c0.x -= h;
c1.x += h;
break;
case Direction.Y:
c0.y -= h;
c1.y += h;
break;
case Direction.Z:
c0.z -= h;
c1.z += h;
break;
}
Gizmos.DrawWireSphere(transform.TransformPoint(c0), radius);
Gizmos.DrawWireSphere(transform.TransformPoint(c1), radius);
}
}
}
@@ -1,36 +0,0 @@
using UnityEngine;
public class DynamicBoneColliderBase : MonoBehaviour
{
public string ColliderName;
public enum Direction
{
X, Y, Z
}
#if UNITY_5_3_OR_NEWER
[Tooltip("The axis of the capsule's height.")]
#endif
public Direction m_Direction = Direction.Y;
#if UNITY_5_3_OR_NEWER
[Tooltip("The center of the sphere or capsule, in the object's local space.")]
#endif
public Vector3 m_Center = Vector3.zero;
public enum Bound
{
Outside,
Inside
}
#if UNITY_5_3_OR_NEWER
[Tooltip("Constrain bones to outside bound or inside bound.")]
#endif
public Bound m_Bound = Bound.Outside;
public virtual bool Collide(ref Vector3 particlePosition, float particleRadius)
{
return false;
}
}
@@ -1,76 +0,0 @@
using UnityEngine;
[AddComponentMenu("Dynamic Bone/Dynamic Bone Plane Collider")]
public class DynamicBonePlaneCollider : DynamicBoneColliderBase
{
void OnValidate()
{
}
public override bool Collide(ref Vector3 particlePosition, float particleRadius)
{
Vector3 normal = Vector3.up;
switch (m_Direction)
{
case Direction.X:
normal = transform.right;
break;
case Direction.Y:
normal = transform.up;
break;
case Direction.Z:
normal = transform.forward;
break;
}
Vector3 p = transform.TransformPoint(m_Center);
Plane plane = new Plane(normal, p);
float d = plane.GetDistanceToPoint(particlePosition);
if (m_Bound == Bound.Outside)
{
if (d < 0)
{
particlePosition -= normal * d;
return true;
}
}
else
{
if (d > 0)
{
particlePosition -= normal * d;
return true;
}
}
return false;
}
void OnDrawGizmosSelected()
{
if (!enabled)
return;
if (m_Bound == Bound.Outside)
Gizmos.color = Color.yellow;
else
Gizmos.color = Color.magenta;
Vector3 normal = Vector3.up;
switch (m_Direction)
{
case Direction.X:
normal = transform.right;
break;
case Direction.Y:
normal = transform.up;
break;
case Direction.Z:
normal = transform.forward;
break;
}
Vector3 p = transform.TransformPoint(m_Center);
Gizmos.DrawLine(p, p + normal);
}
}
@@ -1,6 +1,7 @@
fileFormatVersion: 2
guid: 4bfbe5f35cfda4e488c0fb232ba9c5ce
AssemblyDefinitionImporter:
guid: 07a82de54c396d34295d33d4983f7153
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: db92d939bae9b7a428f4312afd2069c2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e9b28411580b23c4892cd0526e51b70e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Cutt.Util
{
[System.Serializable]
public class TimelineCharaPartsData
{
[SerializeField]
private string _rendererName;
[SerializeField]
private int _rendererHash;
public bool IsVisible;
}
}
@@ -1,8 +1,7 @@
fileFormatVersion: 2
guid: 4e535bdf3689369408cc4d078260ef6a
timeCreated: 1482666461
licenseType: Store
guid: 53fac0a0edbb582439eb08670f03a121
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
@@ -0,0 +1,33 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop
{
[System.Serializable]
public class CySpringWindParam
{
[SerializeField]
private bool _isEnableVertical;
[SerializeField]
private bool _isEnableHorizontal;
[SerializeField]
private float _verticalCycle;
[SerializeField]
private float _horizontalCycle;
[SerializeField]
private float _verticalAngleWidth;
[SerializeField]
private float _horizontalAngleWidth;
[SerializeField]
private int _partsMask;
[SerializeField]
private float[] _powerScaleArray;
[SerializeField]
private Vector3 _direction;
[SerializeField]
private Vector3 _right;
[SerializeField]
private bool _isLocalDirection;
}
}
@@ -1,8 +1,11 @@
fileFormatVersion: 2
guid: f9ac8d30c6a0d9642a11e5be4c440740
guid: f0b8bcd1bcd67764d93c854a0f61660b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5f41ea469f2a40b419004ea4add33bb8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,34 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Cyalume
{
public class AudienceController
{
public enum AnimationSetting
{
Default = 0,
SyncCyalume = 1,
Direct = 2,
Max = 3
}
public enum AnimationBodyRegion
{
None = 0,
RightHand = 1,
LeftHand = 2,
BothHands = 3,
Max = 4
}
public enum AnimationCategory
{
None = 0,
Common = 1,
Unique = 2,
Max = 3
}
}
}
@@ -1,8 +1,11 @@
fileFormatVersion: 2
guid: baedd976e12657241bf7ff2d1c685342
guid: 9346a645e5ff4ac41b024222b2c111f6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Cyalume
{
public abstract class CyalumeControllerBase : MonoBehaviour
{
public int _animationFrameCount;
public bool _useUVAudienceSpread;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a09b759bec8d51d4f8b4e3630250a858
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,54 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop
{
public class DepthBlurAndBloom
{
public enum DofFocalType
{
Transform = 0,
Position = 1,
Point = 2
}
public enum DofBlur
{
Horizon = 0,
Mixed = 1,
Disc = 2,
BallBlur = 3
}
public enum DofQuality
{
OnlyBackground = 1,
BackgroundAndForeground = 5
}
public enum DofTransformTarget
{
Character0 = 0,
Character1 = 1,
Character2 = 2,
Character3 = 3,
Character4 = 4,
Character5 = 5,
Character6 = 6,
Character7 = 7,
Character8 = 8,
Character9 = 9,
Character10 = 10,
Character11 = 11,
Character12 = 12,
Character13 = 13,
Character14 = 14,
Character15 = 15,
Character16 = 16,
Character17 = 17,
Character18 = 18
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c1264df1ca77e714fb1029850560be16
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop
{
public class DrivenKeyComponent
{
public enum InterpolateType
{
Linear = 0,
EaseIn = 1,
EaseOut = 2,
EaseInOut = 3
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 18037f1010ce911459e41fe72fb5ddba
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop
{
public enum EarType
{
Base = 0,
Base_N = 1,
Kanasi = 2,
Dere_N = 3,
Dere = 4,
Yure = 5,
Biku_N = 6,
Biku = 7,
Ikari = 8,
Tanosi = 9,
Up_N = 10,
Up = 11,
Down = 12,
Front = 13,
Side = 14,
Back = 15,
Roll = 16
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bc56158d35ac36a4098a1384256b2e2e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 78c675084ac7a3947b174b968c6a5f8f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.ImageEffect
{
public class ColorCorrectionParam
{
public enum ColorCorrectionMode
{
Simple = 0,
Advanced = 1
}
public enum MaskType
{
None = 0,
Rectangle = 1,
Vignette = 2
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 57e382eb805667141abb3e1b4a091f2b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,29 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.ImageEffect
{
[System.Serializable]
public class DofDiffusionBloomOverlayParam
{
public enum DofDiffusionBloomType
{
None = 0,
DofBloom = 1,
DiffusionDofBloom = 2,
Bloom = 3,
DiffusionBloom = 4,
Dof = 5,
OldDof = 6,
OldDofFastBloom = 7,
OverlayOnly = 8
}
public enum BloomScreenBlendMode
{
Screen = 0,
Add = 1
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7e9bd049533b9f14f9dda24fee94bed7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.ImageEffect
{
[System.Serializable]
public class RadialBlurParam
{
public enum MoveBlurType
{
None = 0,
Circle = 1,
Horizontal = 2,
Vertical = 3,
Ellipse = 4,
Roll = 5
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f9839ecca104af34bac5168c649f4060
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,40 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.ImageEffect
{
public class SunShaftsParam : MonoBehaviour
{
public enum SunShaftsResolution
{
Low = 0,
Normal = 1,
High = 2
}
public enum SunShaftsScreenBlendMode
{
Screen = 0,
Add = 1
}
public bool IsEnable; // 0x10
public Camera TargetCamera; // 0x18
public Transform SunTransform; // 0x20
public Vector3 SunPosition; // 0x28
public SunShaftsParam.SunShaftsResolution Resolution; // 0x34
public SunShaftsParam.SunShaftsScreenBlendMode ScreenBlendMode; // 0x38
public float SunShaftBlurRadius; // 0x3C
public Color SunColor; // 0x40
public float SunPower; // 0x50
public float CenterBrightness; // 0x54
public float CenterMultiplex; // 0x58
public float KomorebiRate; // 0x5C
public bool IsEnabledBorderClear; // 0x60
public float SunShaftIntensity; // 0x64
public float BlackLevel; // 0x68
public int BlurIterations; // 0x6C
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 912f0243a826d0244b30e7b855547f23
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 133ffdd07ebe296429d48d53b39aa5d6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live
{
public class BillboardController : MonoBehaviour
{
public enum RotationType
{
Default = 0,
FixHorizon = 1,
AlwaysCamera = 2
}
[SerializeField]
private Transform _targetCameraTransform;
[SerializeField]
private BillboardController.RotationType _rotationType;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2bb70737296fb09458353ccfb88fa594
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 37a79ebe870cd0440a2ce7402b79765a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,40 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
public class LiveTimelineControl : MonoBehaviour
{
public LiveTimelineData data;
public Transform cameraPositionLocatorsRoot;
public Transform cameraLookAtLocatorsRoot;
[SerializeField]
private Transform[] characterStandPosLocators;
public void CopyValues<T>(T from, T to)
{
var json = JsonUtility.ToJson(from);
JsonUtility.FromJsonOverwrite(json, to);
}
private void Awake()
{
InitializeTimeLineData();
}
public void InitializeTimeLineData()
{
var LoadData = gameObject.AddComponent<LiveTimelineData>();
CopyValues(data, LoadData);
foreach(LiveTimelineWorkSheet worksheet in LoadData.worksheetList)
{
var LoadSheet = gameObject.AddComponent<LiveTimelineWorkSheet>();
CopyValues(worksheet, LoadSheet);
}
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 35a872500a900b44b942ffc4a8443ef8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,223 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Gallop.ImageEffect;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineCharacterSettings
{
public int[] motionSequenceIndices;
public bool[] useHighPolygonModel;
public bool[] useHighPolygonModelForLightMode;
public bool[] useWetTexture;
public int[] EyeReflectionTextureSizeRateArray;
}
[System.Serializable]
public class LiveTimelinePropsSettings
{
public enum PropsConditionType
{
Default = 0,
CharaPosition = 1,
CharaId = 2,
DressId = 3
}
[System.Serializable]
public class PropsConditionData
{
public LiveTimelinePropsSettings.PropsConditionType Type;
public int Value;
}
[System.Serializable]
public class PropsConditionGroup
{
public LiveTimelinePropsSettings.PropsConditionData[] propsConditionData;
public int propsConditionCount;
public bool satisfiesAllConditions;
public bool IsInvalid;
}
[System.Serializable]
public class PropsDataGroup
{
public string propsName;
public bool isCharaProps;
public int charaPropsMajorId;
public int charaPropsMinorId;
public string[] attachJointNames;
public int attachJointNameCount;
public bool hasShadow;
public LiveTimelinePropsSettings.PropsConditionGroup[] propsConditionGroup;
public int propsConditionGroupCount;
}
public LiveTimelinePropsSettings.PropsDataGroup[] propsDataGroup;
public int propsDataGroupCount;
}
[System.Serializable]
public class LiveTimelineSunShaftsSettings
{
public SunShaftsParam.SunShaftsResolution resolution; // 0x10
public SunShaftsParam.SunShaftsScreenBlendMode screenBlendMode; // 0x14
public Color sunColor; // 0x18
public float sunPower; // 0x28
public float sunCenterBrightness; // 0x2C
public float sunCenterMultiplex; // 0x30
public float intensity; // 0x34
public float fadeStart; // 0x38
public float fadeMix; // 0x3C
public float blackLevel; // 0x40
public float komorebiRate; // 0x44
public float blurRadius; // 0x48
public int blurIterations;
public bool isEnabledBorderClear;
}
[System.Serializable]
public class LiveTimelineHdrBloomSettings
{
public int bloomBlurIterations;
}
[System.Serializable]
public class LiveTimelineCharacterOptionSettings
{
public string[] optionName;
}
[System.Serializable]
public class LiveTimelineIndirectLightShaftsSettings
{
public enum ShaftType
{
Default = 0,
Vr03 = 1
}
public int id;
public LiveTimelineIndirectLightShaftsSettings.ShaftType shaftType;
public int shaftTextureNameLength;
public string[] shaftTextureNames;
}
[System.Serializable]
public class LiveTimelineA2USettings
{
[System.Serializable]
public class Prefab
{
public string name;
public string path;
}
public int flickRandomSeed; // 0x10
public uint flickCount; // 0x14
public float flickStepSec; // 0x18
public uint flickMin; // 0x1C
public uint flickMax; // 0x20
public LiveTimelineA2USettings.Prefab[] prefabs; // 0x28
public string[] sprites; // 0x30
public int assetNo; // 0x38
}
[System.Serializable]
public class LiveTimelineMultiCameraSettings
{
public int cameraNum;
}
[System.Serializable]
public class LiveTimelineMonitorCameraSettings
{
public bool IsEnabledTextureWidthRate;
public float TextureWidthRate;
}
[System.Serializable]
public class LiveTimelineLensFlareSetting
{
[System.Serializable]
public class FlareDataGroup
{
public int objectId;
public bool isHqOnly;
}
public LiveTimelineLensFlareSetting.FlareDataGroup[] flareDataGroup; // 0x10
public int flareDataGroupCount; // 0x18
public float lightStandard; // 0x1C
public float underLimit; // 0x20
}
[System.Serializable]
public class LiveTimelineStageObjectsSettings
{
[System.Serializable]
public class Object
{
public int replaceQuality;
public int objectId;
public string objectName;
}
public int objectCount; // 0x10
public LiveTimelineStageObjectsSettings.Object[] objectData;
}
[System.Serializable]
public class LiveTimelineDebugSettings
{
public bool isCheckCharacterPosition;
}
public class LiveTimelineData : MonoBehaviour
{
public enum CharacterPositionMode
{
Immobility = 0,
Relative = 1,
None = 2
}
public enum FacialTimelineType
{
Motion = 0,
Character = 1
}
public string version;
public int timeLength;
public LiveTimelineData.CharacterPositionMode characterPositionMode;
public string[] spotLightPrefabNames;
public string spotLightParentName;
public string[] shadowPrefabNames;
public LiveTimelineCharacterSettings characterSettings;
public LiveTimelinePropsSettings propsSettings;
public LiveTimelineSunShaftsSettings sunShaftsSettings;
public LiveTimelineHdrBloomSettings hdrBloomSettings;
public LiveTimelineCharacterOptionSettings characterOptionSettings;
public LiveTimelineIndirectLightShaftsSettings indirectLightShaftsSettings;
public LiveTimelineA2USettings a2uSettings;
public LiveTimelineMultiCameraSettings multiCameraSettings;
public LiveTimelineMonitorCameraSettings MonitorCameraSettings;
public List<LiveTimelineWorkSheet> worksheetList;
public LiveTimelineData.FacialTimelineType FacialLineType;
public bool isUseHQParticle;
public string[] particlePrefabNames;
public string[] mirrorScanLightBodyPrefabNames;
public LiveTimelineLensFlareSetting lensFlareSetting;
public float maxForcalSize;
public bool isUseMirrorScanMotionDictionary;
public bool isUseGameSettingToParticle;
public LiveTimelineStageObjectsSettings stageObjectsSettings;
public LiveTimelineDebugSettings debugSettings;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: cdd44576bafca184794d2fc5f53c6778
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f2edb7df119fae541983a297e3180189
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyA2UConfigData : LiveTimelineKeyWithInterpolate
{
public A2U.Blend blend;
public A2U.Order order;
public bool enable;
}
[System.Serializable]
public class LiveTimelineKeyA2UConfigDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyA2UConfigData>
{
}
[System.Serializable]
public class LiveTimelineA2UConfigData : ILiveTimelineGroupDataWithName
{
private const string default_name = "A2UConfig";
public LiveTimelineKeyA2UConfigDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7edd0f77d9304bf44b5a176217fb45a0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,42 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyA2UData : LiveTimelineKeyWithInterpolate
{
private static readonly float MinOpacity;
private static readonly float MaxOpacity;
public Color spriteColor;
public Vector2 position;
public Vector2 scale;
public float rotationZ;
public int textureIndex;
public int appearanceRandomSeed;
public float spriteAppearance;
public int slopeRandomSeed;
public float spriteMinSlope;
public float spriteMaxSlope;
public float spriteScale;
public float spriteOpacity;
public float startSec;
public float speed;
public bool isFlick;
public bool enable;
}
[System.Serializable]
public class LiveTimelineKeyA2UDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyA2UData>
{
}
[System.Serializable]
public class LiveTimelineA2UData : ILiveTimelineGroupDataWithName
{
private const string default_name = "A2U";
public LiveTimelineKeyA2UDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d165d55944a7c3e4e84b279b2a2c4ba6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,43 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyData_AdditionalLight : LiveTimelineKeyWithInterpolate
{
public enum MyLightType
{
Directional = 0,
Spot = 1,
Point = 2
}
public Vector3 Position;
public Vector3 Rotate;
public bool IsEnable;
public LiveTimelineKeyData_AdditionalLight.MyLightType Type;
public float Range;
public int SpotAngle;
public int IndirectMultiplier;
public LightShadows ShadowType;
public float Strength;
public float Bias;
public float NormalBias;
public float NearPlane;
}
[System.Serializable]
public class LiveTimelineKeyAdditionalLightList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyData_AdditionalLight>
{
}
[System.Serializable]
public class LiveTimelineAdditionalLight : ILiveTimelineGroupDataWithName
{
private const string default_name = "Light";
public LiveTimelineKeyAdditionalLightList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 118cfa08b9d248a41a4adb194a033299
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,28 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyAnimationData : LiveTimelineKeyWithInterpolate
{
public int animationID;
public WrapMode wrapMode;
public float speed;
public float offsetTime;
}
[System.Serializable]
public class LiveTimelineKeyAnimationDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyAnimationData>
{
}
[System.Serializable]
public class LiveTimelineAnimationData : ILiveTimelineGroupDataWithName
{
public LiveTimelineKeyAnimationDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5057d3a3d3fa5f249a258e5142a37e8f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,41 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Gallop.Cyalume;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyAudienceData : LiveTimelineKeyWithInterpolate
{
public Vector3 position;
public Vector3 rotate;
public Vector3 scale;
public Color cyalumeColor;
public Color cyalumeGlowColor;
public float cyalumeGlowColorPower;
public float cyalumeMaskRadius;
public AudienceController.AnimationSetting animationSetting;
public int animationRootIndex;
public AudienceController.AnimationBodyRegion animationBodyRegion;
public AudienceController.AnimationCategory animationCategory;
public int animationIndex;
public WrapMode animationWrapMode;
public float animationSpeed;
public float animationOffsetTime;
}
[System.Serializable]
public class LiveTimelineKeyAudienceDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyAudienceData>
{
}
[System.Serializable]
public class LiveTimelineAudienceData : ILiveTimelineGroupDataWithName
{
public LiveTimelineKeyAudienceDataList keys;
[SerializeField]
private int _objectIndex;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7e71d2e3a33c47941bbef109752e4168
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,61 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
public enum LiveTimelineKeyLoopType
{
None = 0,
CopyStart = 1,
CopyEnd = 2,
Paste = 3,
Max = 4
}
[System.Serializable]
public class ILiveTimelineGroupDataWithName : ILiveTimelineGroupData
{
public string name;
}
[System.Serializable]
public class LiveTimelineKeyBgColor1Data : LiveTimelineKeyWithInterpolate
{
public Color color;
public float power;
public float scale;
public int flags;
public Color toonDarkColor;
public Color toonBrightColor;
public float vertexColorToonPower;
public float outlineWidthPower;
public Color outlineColor;
public ModelController.OutlineColorBlend outlineColorBlend;
public LiveTimelineKeyLoopType loopType;
public int loopCount;
public int loopExecutedCount;
public int loopIntervalFrame;
public bool isPasteLoopUnit;
public bool isChangeLoopInterpolate;
public bool IsProjector;
public float f32;
public LiveTimelineKeyLoopType _loopType;
public int _loopCount;
public int _loopExecutedCount;
public int _loopIntervalFrame;
public bool _isChangeLoopInterpolate;
}
[System.Serializable]
public class LiveTimelineKeyBgColor1DataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyBgColor1Data>
{
}
[System.Serializable]
public class LiveTimelineBgColor1Data : ILiveTimelineGroupDataWithName
{
public LiveTimelineKeyBgColor1DataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3dcec46c2c178154d815ee0a2038e9f1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,38 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyBgColor2Data : LiveTimelineKeyWithInterpolate
{
public Color color1;
public Color color2;
public float power;
public LiveTimelineKeyLoopType loopType;
public int loopCount;
public int loopExecutedCount;
public int loopIntervalFrame;
public bool isPasteLoopUnit;
public bool isChangeLoopInterpolate;
public float f32; // 0x68
public LiveTimelineKeyLoopType _loopType;
public int _loopCount;
public int _loopExecutedCount;
public int _loopIntervalFrame;
public bool _isChangeLoopInterpolate;
}
[System.Serializable]
public class LiveTimelineKeyBgColor2DataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyBgColor2Data>
{
}
[System.Serializable]
public class LiveTimelineBgColor2Data : ILiveTimelineGroupDataWithName
{
public LiveTimelineKeyBgColor2DataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 59be893aaa13cc54aa2f7c71177865b1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,28 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyBillboardData : LiveTimelineKeyWithInterpolate
{
public bool manualAngle;
public Vector3 angle;
public Quaternion manualRotation;
}
[System.Serializable]
public class LiveTimelineKeyBillboardDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyBillboardData>
{
}
[System.Serializable]
public class LiveTimelineBillboardData : ILiveTimelineGroupDataWithName
{
private const string default_name = "Billboard";
public LiveTimelineKeyBillboardDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 908f46faa5c350c4f8755f53766f2fad
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,56 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
public enum BlinkLightPattern
{
None = 0,
Random = 1,
Ascend = 2,
Descend = 3,
Max = 4
}
public enum BlinkLightColorType
{
Blend = 0,
Ascend = 1,
Descend = 2,
Switch = 3,
Max = 4
}
[System.Serializable]
public class LiveTimelineKeyBlinkLightData : LiveTimelineKeyWithInterpolate
{
public Color[] color0Array;
public Color[] color1Array;
public float[] powerArray;
public bool[] isReverseHueArray;
public BlinkLightPattern pattern;
public BlinkLightColorType colorType;
public float powerMin;
public float powerMax;
public int loopCount;
public float waitTime;
public float turnOnTime;
public float turnOffTime;
public float keepTime;
public float intervalTime;
}
[System.Serializable]
public class LiveTimelineKeyBlinkLightDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyBlinkLightData>
{
}
[System.Serializable]
public class LiveTimelineBlinkLightData : ILiveTimelineGroupDataWithName
{
private const string DEFAULT_NAME = "BlinkLight";
public LiveTimelineKeyBlinkLightDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f10eaa29a674bd242a5f2b9139801252
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,39 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyCharaCollisionData : LiveTimelineKeyWithInterpolate
{
public static readonly Quaternion PLANE_UP_ROTATION;
public bool IsEnable;
public Vector3 Position;
public Vector3 Angle;
public CySpringCollisionData.CollisionType CollisionType;
public float Radius;
public Vector3 Offset;
public Vector3 Offset2;
public bool IsInner;
public bool IsApplyHead;
public bool IsApplyTail;
public LiveCharaPositionFlag CharacterFlag;
public Quaternion Rotation;
private const int ATTR_PLANE_UP = 65536;
}
[System.Serializable]
public class LiveTimelineKeyCharaCollisionDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyCharaCollisionData>
{
}
[System.Serializable]
public class LiveTimelineCharaCollisionData : ILiveTimelineGroupDataWithName
{
private const string DEFAULT_NAME = "EnvCollision";
public LiveTimelineKeyCharaCollisionDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e975c42200306ed46b8546a7bac07ba2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,45 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class ILiveTimelineGroupData
{
}
[System.Serializable]
public class LiveTimelineKeyCharaMotionData : LiveTimelineKey
{
public string motionName;
public string motionName2;
public string motionName3;
public AnimationClip clip;
public AnimationClip clip2;
public AnimationClip clip3;
public int overrideMotionSysTextId;
public bool useOverrideMotionFacial;
public int motionHeadFrame;
public int playFrameLength;
public float playSpeed;
public bool loop;
public bool isMotionHeadFrameAll;
public int[] motionHeadFrameSeparetes;
}
[System.Serializable]
public class LiveTimelineKeyCharaMotionSeqDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyCharaMotionData>
{
}
[System.Serializable]
public class LiveTimelineCharaMotSeqData : ILiveTimelineGroupData
{
public LiveTimelineKeyCharaMotionSeqDataList keys;
[SerializeField]
private bool _existsOverrideMotionSet;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 97cf60489ca53eb4ba870c244209157d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,61 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Gallop.Cutt.Util;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyCharaParts : LiveTimelineKeyWithInterpolate
{
public TimelineCharaPartsData[] CharaPartsDataArray;
}
[System.Serializable]
public class LiveTimelineKeyCharaPartsDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyCharaParts>
{
}
[System.Serializable]
public class LiveTimelineCharaPartsData
{
private const int DATA_LIST_SIZE = 18;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList centerKeys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList left1Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList right1Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList left2Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList right2Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place06Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place07Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place08Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place09Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place10Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place11Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place12Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place13Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place14Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place15Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place16Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place17Keys;
[SerializeField]
private LiveTimelineKeyCharaPartsDataList place18Keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 96fc5e4a94463c0409353dbafc88494f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,43 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyCharaWind : LiveTimelineKeyWithInterpolate
{
public bool IsEnableWind;
public CySpringWindParam WindParam;
}
[System.Serializable]
public class LiveTimelineKeyCharaWindDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyCharaWind>
{
}
[System.Serializable]
public class LiveTimelineCharaWindData
{
private const int DATA_LIST_SIZE = 18;
public LiveTimelineKeyCharaWindDataList centerKeys;
public LiveTimelineKeyCharaWindDataList left1Keys;
public LiveTimelineKeyCharaWindDataList right1Keys;
public LiveTimelineKeyCharaWindDataList left2Keys;
public LiveTimelineKeyCharaWindDataList right2Keys;
public LiveTimelineKeyCharaWindDataList place06Keys;
public LiveTimelineKeyCharaWindDataList place07Keys;
public LiveTimelineKeyCharaWindDataList place08Keys;
public LiveTimelineKeyCharaWindDataList place09Keys;
public LiveTimelineKeyCharaWindDataList place10Keys;
public LiveTimelineKeyCharaWindDataList place11Keys;
public LiveTimelineKeyCharaWindDataList place12Keys;
public LiveTimelineKeyCharaWindDataList place13Keys;
public LiveTimelineKeyCharaWindDataList place14Keys;
public LiveTimelineKeyCharaWindDataList place15Keys;
public LiveTimelineKeyCharaWindDataList place16Keys;
public LiveTimelineKeyCharaWindDataList place17Keys;
public LiveTimelineKeyCharaWindDataList place18Keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 04044d2093d1d0b44941c63cd13cf17e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,38 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyChromaticAberrationData : LiveTimelineKeyWithInterpolate
{
public enum ChromaticAberrationType
{
Normal = 0,
Circle = 1,
CircleClipDirect = 2
}
public bool isEnable; // 0x30
public Vector2 redOffset; // 0x34
public Vector2 greenOffset; // 0x3C
public Vector2 blueOffset; // 0x44
public float power; // 0x4C
public float clip; // 0x50
public LiveTimelineKeyChromaticAberrationData.ChromaticAberrationType effectType; // 0x54
}
[System.Serializable]
public class LiveTimelineKeyChromaticAberrationDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyChromaticAberrationData>
{
}
[System.Serializable]
public class LiveTimelineChromaticAberrationData : ILiveTimelineGroupDataWithName
{
private const string default_name = "Chromatic Aberration";
public LiveTimelineKeyChromaticAberrationDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6c036825fd20fd944b9e6379df14c087
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,38 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Gallop.ImageEffect;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyColorCorrectionData : LiveTimelineKey
{
public bool enable;
public float saturation;
public ColorCorrectionParam.ColorCorrectionMode mode;
public AnimationCurve redCurve;
public AnimationCurve greenCurve;
public AnimationCurve blueCurve;
public AnimationCurve depthRedCurve;
public AnimationCurve depthGreenCurve;
public AnimationCurve depthBlueCurve;
public AnimationCurve blendCurve;
public bool selective;
public Color keyColor;
public Color targetColor;
}
[System.Serializable]
public class LiveTimelineKeyColorCorrectionDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyColorCorrectionData>
{
}
[System.Serializable]
public class LiveTimelineColorCorrectionData : ILiveTimelineGroupDataWithName
{
private const string default_name = "ColorCorrection";
public LiveTimelineKeyColorCorrectionDataList keys;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: dfad6406351ade148ba91e829a1f65dc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Gallop.Live.Cutt
{
[System.Serializable]
public class LiveTimelineKeyCyalumeControlData : LiveTimelineKeyWithInterpolate
{
public Vector3 Position;
public Vector3 Angle;
public Vector3 Scale;
public Quaternion Rotation;
}
[System.Serializable]
public class LiveTimelineKeyCyalumeControlDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyCyalumeControlData>
{
}
[System.Serializable]
public class LiveTimelineCyalumeControlData : ILiveTimelineGroupDataWithName
{
private const string default_name = "Cyalume Control";
public int GroupIndex;
public LiveTimelineKeyCyalumeControlDataList Keys;
}
}

Some files were not shown because too many files have changed in this diff Show More