From b807feb2a444c7a21c2270c49ff217a576812b06 Mon Sep 17 00:00:00 2001 From: Chikashi Miyama Date: Sat, 17 Aug 2019 18:17:57 +0200 Subject: [PATCH] add activation --- .../.idea.UnityProject/.idea/workspace.xml | 29 +++-- .../Scenes/Examples/Example1/Mapping.unity | 4 +- .../Scenes/Examples/Example1/MyPiece.playable | 103 ++++++++++++++++++ 3 files changed, 119 insertions(+), 17 deletions(-) diff --git a/UnityProject/.idea/.idea.UnityProject/.idea/workspace.xml b/UnityProject/.idea/.idea.UnityProject/.idea/workspace.xml index d79d458..2c76116 100644 --- a/UnityProject/.idea/.idea.UnityProject/.idea/workspace.xml +++ b/UnityProject/.idea/.idea.UnityProject/.idea/workspace.xml @@ -2,11 +2,8 @@ - - - - - + + - @@ -372,7 +369,7 @@ - + 1562485186899 @@ -392,7 +389,7 @@ - @@ -404,16 +401,16 @@ - + - + - + @@ -1001,7 +998,7 @@ - + @@ -1023,7 +1020,7 @@ - + diff --git a/UnityProject/Assets/Scenes/Examples/Example1/Mapping.unity b/UnityProject/Assets/Scenes/Examples/Example1/Mapping.unity index 33ad504..a1f7b81 100644 --- a/UnityProject/Assets/Scenes/Examples/Example1/Mapping.unity +++ b/UnityProject/Assets/Scenes/Examples/Example1/Mapping.unity @@ -131,7 +131,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!95 &221635549 Animator: serializedVersion: 3 @@ -260,6 +260,8 @@ PlayableDirector: value: {fileID: 1199216738} - key: {fileID: 114317833887755120, guid: e47ef7fc257f2fd469dd545e643bc6b9, type: 2} value: {fileID: 221635549} + - key: {fileID: 114704940880640000, guid: e47ef7fc257f2fd469dd545e643bc6b9, type: 2} + value: {fileID: 221635548} m_ExposedReferences: m_References: [] --- !u!4 &703952018 diff --git a/UnityProject/Assets/Scenes/Examples/Example1/MyPiece.playable b/UnityProject/Assets/Scenes/Examples/Example1/MyPiece.playable index 628b376..f60624f 100644 --- a/UnityProject/Assets/Scenes/Examples/Example1/MyPiece.playable +++ b/UnityProject/Assets/Scenes/Examples/Example1/MyPiece.playable @@ -16,6 +16,7 @@ MonoBehaviour: m_Tracks: - {fileID: 114479060904044746} - {fileID: 114317833887755120} + - {fileID: 114704940880640000} m_FixedDuration: 0 m_EditorSettings: m_Framerate: 60 @@ -231,6 +232,108 @@ MonoBehaviour: m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1} m_Rotation: {x: 0, y: 0, z: 0, w: 1} m_ApplyOffsets: 0 +--- !u!114 &114611508007446338 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 442072544, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3} + m_Name: ActivationPlayableAsset + m_EditorClassIdentifier: +--- !u!114 &114704940880640000 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 46519060, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3} + m_Name: Activation Track + m_EditorClassIdentifier: + m_Locked: 0 + m_Muted: 0 + m_CustomPlayableFullTypename: + m_AnimClip: {fileID: 0} + m_Parent: {fileID: 11400000} + m_Children: [] + m_Clips: + - m_Start: 20.116666666666667 + m_ClipIn: 0 + m_Asset: {fileID: 114611508007446338} + m_Duration: 9.966666666666669 + m_TimeScale: 1 + m_ParentTrack: {fileID: 114704940880640000} + m_EaseInDuration: 0 + m_EaseOutDuration: 0 + m_BlendInDuration: 0 + m_BlendOutDuration: 0 + m_MixInCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_MixOutCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_BlendInCurveMode: 0 + m_BlendOutCurveMode: 0 + m_ExposedParameterNames: [] + m_AnimationCurves: {fileID: 0} + m_Recordable: 0 + m_PostExtrapolationMode: 0 + m_PreExtrapolationMode: 0 + m_PostExtrapolationTime: 0 + m_PreExtrapolationTime: 0 + m_DisplayName: Floor + m_Version: 1 + m_Version: 2 + m_PostPlaybackState: 3 --- !u!114 &114712138302265878 MonoBehaviour: m_ObjectHideFlags: 1