AR多人骑行研究
This commit is contained in:
parent
448b6d7798
commit
16e416332d
1
.gitignore
vendored
1
.gitignore
vendored
@ -100,3 +100,4 @@ Assets/Models/MC_animations
|
|||||||
Assets/Models/MC_max
|
Assets/Models/MC_max
|
||||||
Assets/FacebookSDK/SDK/Resources/FacebookSettings.asset
|
Assets/FacebookSDK/SDK/Resources/FacebookSettings.asset
|
||||||
Assets/FacebookSDK/SDK/Resources/FacebookSettings.asset
|
Assets/FacebookSDK/SDK/Resources/FacebookSettings.asset
|
||||||
|
Assets/AVProVideo.meta
|
||||||
|
|||||||
@ -1,5 +1,108 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1101 &-8942406104067383262
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -4448948008395002896}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.7115385
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1101 &-8662835940561187079
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 0
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -2690597925175035265}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25000006
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.06949831
|
||||||
|
m_HasExitTime: 0
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1101 &-7409648080749189935
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: bearing
|
||||||
|
m_EventTreshold: -3
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: bearing
|
||||||
|
m_EventTreshold: -6
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 3705284127588475039}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.75
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1101 &-7118684838634642728
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: bearing
|
||||||
|
m_EventTreshold: -3
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -149237661038222874}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25000012
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.9817992
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
--- !u!1102 &-6197807439964194722
|
--- !u!1102 &-6197807439964194722
|
||||||
AnimatorState:
|
AnimatorState:
|
||||||
serializedVersion: 5
|
serializedVersion: 5
|
||||||
@ -7,10 +110,11 @@ AnimatorState:
|
|||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: all
|
m_Name: idle
|
||||||
m_Speed: 1
|
m_Speed: 1
|
||||||
m_CycleOffset: 0
|
m_CycleOffset: 0
|
||||||
m_Transitions: []
|
m_Transitions:
|
||||||
|
- {fileID: -8662835940561187079}
|
||||||
m_StateMachineBehaviours: []
|
m_StateMachineBehaviours: []
|
||||||
m_Position: {x: 50, y: 50, z: 0}
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
m_IKOnFeet: 0
|
m_IKOnFeet: 0
|
||||||
@ -20,13 +124,270 @@ AnimatorState:
|
|||||||
m_MirrorParameterActive: 0
|
m_MirrorParameterActive: 0
|
||||||
m_CycleOffsetParameterActive: 0
|
m_CycleOffsetParameterActive: 0
|
||||||
m_TimeParameterActive: 0
|
m_TimeParameterActive: 0
|
||||||
m_Motion: {fileID: 7180400119091320514, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
m_Motion: {fileID: -3100369314251171874, guid: 114606f2cc62f834ca290cba3ca38cc6,
|
||||||
type: 3}
|
type: 3}
|
||||||
m_Tag:
|
m_Tag:
|
||||||
m_SpeedParameter:
|
m_SpeedParameter:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
m_CycleOffsetParameter:
|
m_CycleOffsetParameter:
|
||||||
m_TimeParameter:
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &-6182336422816221306
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: bearing
|
||||||
|
m_EventTreshold: 3
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: bearing
|
||||||
|
m_EventTreshold: 6
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 152988074441697560}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.75
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1101 &-5668570121889351379
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 3857089115179635187}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.71153915
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1101 &-5450294895697049533
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -2561558923055515796}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.24999976
|
||||||
|
m_TransitionOffset: 0.00000019073487
|
||||||
|
m_ExitTime: 0.9250001
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1101 &-5393262421884706097
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 9029427672491609446}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.36041674
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.12578467
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1102 &-4448948008395002896
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: turnLeftLoop
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -7118684838634642728}
|
||||||
|
- {fileID: -345489079997900571}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: -2594306684932571358, guid: 8d6e0aea970462e4bb4b16046eb5c382,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &-3565907340479691613
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: bearing
|
||||||
|
m_EventTreshold: 1
|
||||||
|
- m_ConditionMode: 3
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 4213284675513532716}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.75
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1101 &-3209598778822214922
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -6197807439964194722}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.75000095
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1102 &-2690597925175035265
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: startRide
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -5450294895697049533}
|
||||||
|
- {fileID: 4593800859300528812}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 802038575376011472, guid: 114606f2cc62f834ca290cba3ca38cc6, type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1102 &-2561558923055515796
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: rideLoop
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -7409648080749189935}
|
||||||
|
- {fileID: -6182336422816221306}
|
||||||
|
- {fileID: -5393262421884706097}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: -2984763574115442722, guid: 114606f2cc62f834ca290cba3ca38cc6,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1109 &-2159963661882776293
|
||||||
|
AnimatorTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 152988074441697560}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 1
|
||||||
--- !u!1107 &-1637695127637103515
|
--- !u!1107 &-1637695127637103515
|
||||||
AnimatorStateMachine:
|
AnimatorStateMachine:
|
||||||
serializedVersion: 5
|
serializedVersion: 5
|
||||||
@ -38,17 +399,99 @@ AnimatorStateMachine:
|
|||||||
m_ChildStates:
|
m_ChildStates:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: -6197807439964194722}
|
m_State: {fileID: -6197807439964194722}
|
||||||
m_Position: {x: 550, y: 150, z: 0}
|
m_Position: {x: 470, y: -70, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 3705284127588475039}
|
||||||
|
m_Position: {x: 60, y: 230, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 152988074441697560}
|
||||||
|
m_Position: {x: 860, y: 240, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -2561558923055515796}
|
||||||
|
m_Position: {x: 470, y: 230, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -4448948008395002896}
|
||||||
|
m_Position: {x: 60, y: 560, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 3857089115179635187}
|
||||||
|
m_Position: {x: 1140, y: 240, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -149237661038222874}
|
||||||
|
m_Position: {x: 470, y: 570, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 4213284675513532716}
|
||||||
|
m_Position: {x: 1140, y: 550, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -2690597925175035265}
|
||||||
|
m_Position: {x: 470, y: 90, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 9029427672491609446}
|
||||||
|
m_Position: {x: 800, y: 890, z: 0}
|
||||||
m_ChildStateMachines: []
|
m_ChildStateMachines: []
|
||||||
m_AnyStateTransitions: []
|
m_AnyStateTransitions: []
|
||||||
m_EntryTransitions: []
|
m_EntryTransitions:
|
||||||
|
- {fileID: 6077674372584114829}
|
||||||
m_StateMachineTransitions: {}
|
m_StateMachineTransitions: {}
|
||||||
m_StateMachineBehaviours: []
|
m_StateMachineBehaviours: []
|
||||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
m_AnyStatePosition: {x: 40, y: 20, z: 0}
|
||||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
m_DefaultState: {fileID: -6197807439964194722}
|
m_DefaultState: {fileID: -6197807439964194722}
|
||||||
|
--- !u!1101 &-345489079997900571
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 9029427672491609446}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25000003
|
||||||
|
m_TransitionOffset: 0.0069853705
|
||||||
|
m_ExitTime: 0.3891403
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1102 &-149237661038222874
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: leftBack
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: 9171250373398283501}
|
||||||
|
- {fileID: 6703337975342007065}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 3214223272393166172, guid: 8d6e0aea970462e4bb4b16046eb5c382,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!91 &9100000
|
--- !u!91 &9100000
|
||||||
AnimatorController:
|
AnimatorController:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -57,7 +500,43 @@ AnimatorController:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: ViewPlayer
|
m_Name: ViewPlayer
|
||||||
serializedVersion: 5
|
serializedVersion: 5
|
||||||
m_AnimatorParameters: []
|
m_AnimatorParameters:
|
||||||
|
- m_Name: bearing
|
||||||
|
m_Type: 1
|
||||||
|
m_DefaultFloat: 0
|
||||||
|
m_DefaultInt: 0
|
||||||
|
m_DefaultBool: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
|
- m_Name: speed
|
||||||
|
m_Type: 1
|
||||||
|
m_DefaultFloat: 0
|
||||||
|
m_DefaultInt: 0
|
||||||
|
m_DefaultBool: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
|
- m_Name: power
|
||||||
|
m_Type: 1
|
||||||
|
m_DefaultFloat: 0
|
||||||
|
m_DefaultInt: 0
|
||||||
|
m_DefaultBool: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
|
- m_Name: cadance
|
||||||
|
m_Type: 1
|
||||||
|
m_DefaultFloat: 0
|
||||||
|
m_DefaultInt: 0
|
||||||
|
m_DefaultBool: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
|
- m_Name: preSpeed
|
||||||
|
m_Type: 1
|
||||||
|
m_DefaultFloat: 0
|
||||||
|
m_DefaultInt: 0
|
||||||
|
m_DefaultBool: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
|
- m_Name: grade
|
||||||
|
m_Type: 1
|
||||||
|
m_DefaultFloat: 0
|
||||||
|
m_DefaultInt: 0
|
||||||
|
m_DefaultBool: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
m_AnimatorLayers:
|
m_AnimatorLayers:
|
||||||
- serializedVersion: 5
|
- serializedVersion: 5
|
||||||
m_Name: Base Layer
|
m_Name: Base Layer
|
||||||
@ -71,3 +550,317 @@ AnimatorController:
|
|||||||
m_IKPass: 0
|
m_IKPass: 0
|
||||||
m_SyncedLayerAffectsTiming: 0
|
m_SyncedLayerAffectsTiming: 0
|
||||||
m_Controller: {fileID: 9100000}
|
m_Controller: {fileID: 9100000}
|
||||||
|
--- !u!1102 &152988074441697560
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: turnRight
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -5668570121889351379}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: -2328498710462472863, guid: 8d6e0aea970462e4bb4b16046eb5c382,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &874234988664393522
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 9029427672491609446}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.24999997
|
||||||
|
m_TransitionOffset: 0.010477886
|
||||||
|
m_ExitTime: 0.32063255
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1102 &3705284127588475039
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: turnLeft
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -8942406104067383262}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 1827226128182048838, guid: 400110dd8ee017b43bacbba75163ad29,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1102 &3857089115179635187
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: turnRightLoop
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -3565907340479691613}
|
||||||
|
- {fileID: 7406678902383290106}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 8337528576563664321, guid: 8d6e0aea970462e4bb4b16046eb5c382,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &4049610838301332167
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -2561558923055515796}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.75
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1102 &4213284675513532716
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: rightBack
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: 4049610838301332167}
|
||||||
|
- {fileID: 874234988664393522}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: -5405653242291790180, guid: 8d6e0aea970462e4bb4b16046eb5c382,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &4593800859300528812
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 9029427672491609446}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.24999994
|
||||||
|
m_TransitionOffset: 0.00000014901104
|
||||||
|
m_ExitTime: 0.09702269
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1109 &6077674372584114829
|
||||||
|
AnimatorTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -2561558923055515796}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 1
|
||||||
|
--- !u!1101 &6703337975342007065
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 9029427672491609446}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.25000012
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.37302038
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1109 &6964856304486252921
|
||||||
|
AnimatorTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 3705284127588475039}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 1
|
||||||
|
--- !u!1101 &7406678902383290106
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions:
|
||||||
|
- m_ConditionMode: 4
|
||||||
|
m_ConditionEvent: speed
|
||||||
|
m_EventTreshold: 1
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 9029427672491609446}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.24999993
|
||||||
|
m_TransitionOffset: 0.0069853407
|
||||||
|
m_ExitTime: 0.19570361
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1102 &9029427672491609446
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: stop
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -3209598778822214922}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 5806067073232141251, guid: 2ceb9da7ad5150f438b9201780a97edb,
|
||||||
|
type: 3}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &9171250373398283501
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -2561558923055515796}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.24999988
|
||||||
|
m_TransitionOffset: 0.0048356783
|
||||||
|
m_ExitTime: 0.9941088
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
|||||||
BIN
Assets/Models/male_cyclist_cg_animations 1.FBX
Normal file
BIN
Assets/Models/male_cyclist_cg_animations 1.FBX
Normal file
Binary file not shown.
161
Assets/Models/male_cyclist_cg_animations 1.FBX.meta
Normal file
161
Assets/Models/male_cyclist_cg_animations 1.FBX.meta
Normal file
@ -0,0 +1,161 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2ceb9da7ad5150f438b9201780a97edb
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 19301
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: Take 001
|
||||||
|
- first:
|
||||||
|
74: 5806067073232141251
|
||||||
|
second: middleStop
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: Take 001
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 0
|
||||||
|
lastFrame: 1036
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: middleStop
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1006
|
||||||
|
lastFrame: 1036
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Models/male_cyclist_cg_animations 1.max
Normal file
BIN
Assets/Models/male_cyclist_cg_animations 1.max
Normal file
Binary file not shown.
97
Assets/Models/male_cyclist_cg_animations 1.max.meta
Normal file
97
Assets/Models/male_cyclist_cg_animations 1.max.meta
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b429ee608c0dd614a99e1de122467ae6
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 19301
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations: []
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Models/male_cyclist_cg_animations 2.FBX
Normal file
BIN
Assets/Models/male_cyclist_cg_animations 2.FBX
Normal file
Binary file not shown.
129
Assets/Models/male_cyclist_cg_animations 2.FBX.meta
Normal file
129
Assets/Models/male_cyclist_cg_animations 2.FBX.meta
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 400110dd8ee017b43bacbba75163ad29
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 19301
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: hardLeft
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: hardLeft
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1050
|
||||||
|
lastFrame: 1128
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Models/male_cyclist_cg_animations 3.FBX
Normal file
BIN
Assets/Models/male_cyclist_cg_animations 3.FBX
Normal file
Binary file not shown.
289
Assets/Models/male_cyclist_cg_animations 3.FBX.meta
Normal file
289
Assets/Models/male_cyclist_cg_animations 3.FBX.meta
Normal file
@ -0,0 +1,289 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8d6e0aea970462e4bb4b16046eb5c382
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 19301
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: Take 001
|
||||||
|
- first:
|
||||||
|
74: -2594306684932571358
|
||||||
|
second: hardLeft_Loop
|
||||||
|
- first:
|
||||||
|
74: 3214223272393166172
|
||||||
|
second: hardLeft_Back
|
||||||
|
- first:
|
||||||
|
74: -2328498710462472863
|
||||||
|
second: hardRight
|
||||||
|
- first:
|
||||||
|
74: 8337528576563664321
|
||||||
|
second: hardRight_Loop
|
||||||
|
- first:
|
||||||
|
74: -5405653242291790180
|
||||||
|
second: hardRight_Back
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: Take 001
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 0
|
||||||
|
lastFrame: 1206
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: hardLeft_Loop
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1076
|
||||||
|
lastFrame: 1102
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 0
|
||||||
|
loopBlendPositionY: 0
|
||||||
|
loopBlendPositionXZ: 0
|
||||||
|
keepOriginalOrientation: 0
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 0
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: hardLeft_Back
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1102
|
||||||
|
lastFrame: 1128
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: hardRight
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1128
|
||||||
|
lastFrame: 1154
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: hardRight_Loop
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1145
|
||||||
|
lastFrame: 1180
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 0
|
||||||
|
loopBlendPositionY: 0
|
||||||
|
loopBlendPositionXZ: 0
|
||||||
|
keepOriginalOrientation: 0
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 0
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: hardRight_Back
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1180
|
||||||
|
lastFrame: 1206
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Models/male_cyclist_cg_animations.FBX
Normal file
BIN
Assets/Models/male_cyclist_cg_animations.FBX
Normal file
Binary file not shown.
449
Assets/Models/male_cyclist_cg_animations.FBX.meta
Normal file
449
Assets/Models/male_cyclist_cg_animations.FBX.meta
Normal file
@ -0,0 +1,449 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 114606f2cc62f834ca290cba3ca38cc6
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 19301
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: Take 001
|
||||||
|
- first:
|
||||||
|
74: -4775950824883181381
|
||||||
|
second: TurnLeftLoop
|
||||||
|
- first:
|
||||||
|
74: 9001851194710065257
|
||||||
|
second: TurnRightLoop
|
||||||
|
- first:
|
||||||
|
74: -4049585584969071195
|
||||||
|
second: TurnLeft
|
||||||
|
- first:
|
||||||
|
74: 1628252986623654205
|
||||||
|
second: TurnRight
|
||||||
|
- first:
|
||||||
|
74: -9103549811889136567
|
||||||
|
second: LeftBack
|
||||||
|
- first:
|
||||||
|
74: 1391355703288224117
|
||||||
|
second: RightBack
|
||||||
|
- first:
|
||||||
|
74: -2984763574115442722
|
||||||
|
second: RideLoop
|
||||||
|
- first:
|
||||||
|
74: 802038575376011472
|
||||||
|
second: StartRide
|
||||||
|
- first:
|
||||||
|
74: -3100369314251171874
|
||||||
|
second: Idle
|
||||||
|
- first:
|
||||||
|
74: -2650268325924985863
|
||||||
|
second: hardRide
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: Take 001
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 0
|
||||||
|
lastFrame: 1006
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: TurnLeftLoop
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 876
|
||||||
|
lastFrame: 902
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 0
|
||||||
|
loopBlendPositionY: 0
|
||||||
|
loopBlendPositionXZ: 0
|
||||||
|
keepOriginalOrientation: 0
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 0
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: TurnRightLoop
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 954
|
||||||
|
lastFrame: 980
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 0
|
||||||
|
loopBlendPositionY: 0
|
||||||
|
loopBlendPositionXZ: 0
|
||||||
|
keepOriginalOrientation: 0
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 0
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: TurnLeft
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 850
|
||||||
|
lastFrame: 876
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: TurnRight
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 928
|
||||||
|
lastFrame: 954
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: LeftBack
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 902
|
||||||
|
lastFrame: 928
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: RightBack
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 980
|
||||||
|
lastFrame: 1006
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: RideLoop
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 174
|
||||||
|
lastFrame: 249
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 0
|
||||||
|
loopBlendPositionY: 0
|
||||||
|
loopBlendPositionXZ: 0
|
||||||
|
keepOriginalOrientation: 0
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 0
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: StartRide
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 70
|
||||||
|
lastFrame: 170
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 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: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: Idle
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 0
|
||||||
|
lastFrame: 70
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 0
|
||||||
|
loopBlendPositionY: 0
|
||||||
|
loopBlendPositionXZ: 0
|
||||||
|
keepOriginalOrientation: 0
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 0
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: hardRide
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 103
|
||||||
|
lastFrame: 128
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 0
|
||||||
|
loopBlendPositionY: 0
|
||||||
|
loopBlendPositionXZ: 0
|
||||||
|
keepOriginalOrientation: 0
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 0
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask: []
|
||||||
|
maskType: 3
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Models/male_cyclist_cg_animations.max
Normal file
BIN
Assets/Models/male_cyclist_cg_animations.max
Normal file
Binary file not shown.
97
Assets/Models/male_cyclist_cg_animations.max.meta
Normal file
97
Assets/Models/male_cyclist_cg_animations.max.meta
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: aca272262570a0f4390fe4d286641bf6
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 19301
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations: []
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
1
Assets/Resources/UI/Chongqing Fengjie Zilian stage 7.txt
Normal file
1
Assets/Resources/UI/Chongqing Fengjie Zilian stage 7.txt
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3c41d883e82941f44a95fbb1bfe8c6b4
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
23
Assets/Resources/UI/direction.txt
Normal file
23
Assets/Resources/UI/direction.txt
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
380:5
|
||||||
|
661:0
|
||||||
|
909:-5
|
||||||
|
1231:0
|
||||||
|
1390:-5
|
||||||
|
1597:0
|
||||||
|
1756:-5
|
||||||
|
1906:0
|
||||||
|
2232:-5
|
||||||
|
2471:0
|
||||||
|
2961:-5
|
||||||
|
3233:0
|
||||||
|
3458:-5
|
||||||
|
4258:0
|
||||||
|
5367:5
|
||||||
|
5484:0
|
||||||
|
5799:5
|
||||||
|
5965:0
|
||||||
|
6379:5
|
||||||
|
6644:0
|
||||||
|
6980:5
|
||||||
|
7705:0
|
||||||
|
|
||||||
7
Assets/Resources/UI/direction.txt.meta
Normal file
7
Assets/Resources/UI/direction.txt.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cd5b070a1793cfa4184944b655a26bf6
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1,926 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
OcclusionCullingSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
m_SceneGUID: 00000000000000000000000000000000
|
|
||||||
m_OcclusionCullingData: {fileID: 0}
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 9
|
|
||||||
m_Fog: 0
|
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
|
||||||
m_FogMode: 3
|
|
||||||
m_FogDensity: 0.01
|
|
||||||
m_LinearFogStart: 0
|
|
||||||
m_LinearFogEnd: 300
|
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
|
||||||
m_AmbientIntensity: 1
|
|
||||||
m_AmbientMode: 0
|
|
||||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
|
||||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_HaloStrength: 0.5
|
|
||||||
m_FlareStrength: 1
|
|
||||||
m_FlareFadeSpeed: 3
|
|
||||||
m_HaloTexture: {fileID: 0}
|
|
||||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_DefaultReflectionMode: 0
|
|
||||||
m_DefaultReflectionResolution: 128
|
|
||||||
m_ReflectionBounces: 1
|
|
||||||
m_ReflectionIntensity: 1
|
|
||||||
m_CustomReflection: {fileID: 0}
|
|
||||||
m_Sun: {fileID: 0}
|
|
||||||
m_IndirectSpecularColor: {r: 0.44657958, g: 0.4964137, b: 0.5748193, a: 1}
|
|
||||||
m_UseRadianceAmbientProbe: 0
|
|
||||||
--- !u!157 &3
|
|
||||||
LightmapSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 11
|
|
||||||
m_GIWorkflowMode: 1
|
|
||||||
m_GISettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_BounceScale: 1
|
|
||||||
m_IndirectOutputScale: 1
|
|
||||||
m_AlbedoBoost: 1
|
|
||||||
m_EnvironmentLightingMode: 0
|
|
||||||
m_EnableBakedLightmaps: 1
|
|
||||||
m_EnableRealtimeLightmaps: 0
|
|
||||||
m_LightmapEditorSettings:
|
|
||||||
serializedVersion: 12
|
|
||||||
m_Resolution: 2
|
|
||||||
m_BakeResolution: 40
|
|
||||||
m_AtlasSize: 1024
|
|
||||||
m_AO: 0
|
|
||||||
m_AOMaxDistance: 1
|
|
||||||
m_CompAOExponent: 1
|
|
||||||
m_CompAOExponentDirect: 0
|
|
||||||
m_ExtractAmbientOcclusion: 0
|
|
||||||
m_Padding: 2
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_LightmapsBakeMode: 1
|
|
||||||
m_TextureCompression: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_MixedBakeMode: 2
|
|
||||||
m_BakeBackend: 1
|
|
||||||
m_PVRSampling: 1
|
|
||||||
m_PVRDirectSampleCount: 32
|
|
||||||
m_PVRSampleCount: 512
|
|
||||||
m_PVRBounces: 2
|
|
||||||
m_PVREnvironmentSampleCount: 256
|
|
||||||
m_PVREnvironmentReferencePointCount: 2048
|
|
||||||
m_PVRFilteringMode: 1
|
|
||||||
m_PVRDenoiserTypeDirect: 1
|
|
||||||
m_PVRDenoiserTypeIndirect: 1
|
|
||||||
m_PVRDenoiserTypeAO: 1
|
|
||||||
m_PVRFilterTypeDirect: 0
|
|
||||||
m_PVRFilterTypeIndirect: 0
|
|
||||||
m_PVRFilterTypeAO: 0
|
|
||||||
m_PVREnvironmentMIS: 1
|
|
||||||
m_PVRCulling: 1
|
|
||||||
m_PVRFilteringGaussRadiusDirect: 1
|
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5
|
|
||||||
m_PVRFilteringGaussRadiusAO: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
|
||||||
m_ExportTrainingData: 0
|
|
||||||
m_TrainingDataDestination: TrainingData
|
|
||||||
m_LightProbeSampleCountMultiplier: 4
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_UseShadowmask: 1
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentTypeID: 0
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
manualCellSize: 0
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualTileSize: 0
|
|
||||||
tileSize: 256
|
|
||||||
accuratePlacement: 0
|
|
||||||
debug:
|
|
||||||
m_Flags: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &258588903
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 258588905}
|
|
||||||
- component: {fileID: 258588904}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: MediaPlayer
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &258588904
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 258588903}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 638c870cac4da414fba921606d504407, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
_mediaSource: 1
|
|
||||||
_mediaReference: {fileID: 0}
|
|
||||||
_mediaPath:
|
|
||||||
_pathType: 2
|
|
||||||
_path: AVProVideoSamples/Chongqing Fengjie Zilian stage 7.mp4
|
|
||||||
_fallbackMediaHints:
|
|
||||||
transparency: 0
|
|
||||||
alphaPacking: 0
|
|
||||||
stereoPacking: 0
|
|
||||||
_autoOpen: 1
|
|
||||||
_autoPlayOnStart: 1
|
|
||||||
_loop: 0
|
|
||||||
_audioVolume: 1
|
|
||||||
_audioBalance: 0
|
|
||||||
_audioMuted: 0
|
|
||||||
_playbackRate: 1
|
|
||||||
_useResampler: 0
|
|
||||||
_resampleMode: 0
|
|
||||||
_resampleBufferSize: 5
|
|
||||||
_videoMapping: 0
|
|
||||||
_textureFilterMode: 1
|
|
||||||
_textureWrapMode: 1
|
|
||||||
_textureAnisoLevel: 0
|
|
||||||
_useVideoResolve: 0
|
|
||||||
_videoResolveOptions:
|
|
||||||
applyHSBC: 0
|
|
||||||
hue: 0
|
|
||||||
saturation: 0.5
|
|
||||||
brightness: 0.5
|
|
||||||
contrast: 0.5
|
|
||||||
gamma: 1
|
|
||||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
generateMipmaps: 0
|
|
||||||
_sideloadSubtitles: 0
|
|
||||||
_subtitlePath:
|
|
||||||
_pathType: 2
|
|
||||||
_path:
|
|
||||||
_audioHeadTransform: {fileID: 0}
|
|
||||||
_audioFocusEnabled: 0
|
|
||||||
_audioFocusTransform: {fileID: 0}
|
|
||||||
_audioFocusWidthDegrees: 90
|
|
||||||
_audioFocusOffLevelDB: 0
|
|
||||||
_httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
_keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
_events:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
_eventMask: -1
|
|
||||||
_pauseMediaOnAppPause: 1
|
|
||||||
_playMediaOnAppUnpause: 1
|
|
||||||
_persistent: 0
|
|
||||||
_forceFileFormat: 0
|
|
||||||
_optionsWindows:
|
|
||||||
httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
videoApi: 0
|
|
||||||
useHardwareDecoding: 1
|
|
||||||
useTextureMips: 0
|
|
||||||
use10BitTextures: 0
|
|
||||||
hintAlphaChannel: 0
|
|
||||||
useLowLatency: 0
|
|
||||||
useCustomMovParser: 0
|
|
||||||
useHapNotchLC: 0
|
|
||||||
useStereoDetection: 1
|
|
||||||
useTextTrackSupport: 1
|
|
||||||
useFacebookAudio360Support: 1
|
|
||||||
useAudioDelay: 0
|
|
||||||
bufferedFrameSelection: 0
|
|
||||||
pauseOnPrerollComplete: 0
|
|
||||||
forceAudioOutputDeviceName:
|
|
||||||
preferredFilters: []
|
|
||||||
audioOutput: 0
|
|
||||||
audio360ChannelMode: 0
|
|
||||||
startWithHighestBitrate: 0
|
|
||||||
useLowLiveLatency: 0
|
|
||||||
parallelFrameCount: 3
|
|
||||||
prerollFrameCount: 4
|
|
||||||
useUnityAudio: 0
|
|
||||||
enableAudio360: 0
|
|
||||||
_optionsMacOSX:
|
|
||||||
httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
textureFormat: 0
|
|
||||||
audioMode: 0
|
|
||||||
_flags: 0
|
|
||||||
maximumPlaybackRate: 2
|
|
||||||
_preferredPeakBitRate: 0
|
|
||||||
_preferredPeakBitRateUnits: 1
|
|
||||||
_preferredForwardBufferDuration: 0
|
|
||||||
_preferredMaximumResolution: 0
|
|
||||||
_customPreferredMaximumResolution: {x: 0, y: 0}
|
|
||||||
_optionsIOS:
|
|
||||||
httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
textureFormat: 0
|
|
||||||
audioMode: 0
|
|
||||||
_flags: 0
|
|
||||||
maximumPlaybackRate: 2
|
|
||||||
_preferredPeakBitRate: 0
|
|
||||||
_preferredPeakBitRateUnits: 1
|
|
||||||
_preferredForwardBufferDuration: 0
|
|
||||||
_preferredMaximumResolution: 0
|
|
||||||
_customPreferredMaximumResolution: {x: 0, y: 0}
|
|
||||||
_optionsTVOS:
|
|
||||||
httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
textureFormat: 0
|
|
||||||
audioMode: 0
|
|
||||||
_flags: 0
|
|
||||||
maximumPlaybackRate: 2
|
|
||||||
_preferredPeakBitRate: 0
|
|
||||||
_preferredPeakBitRateUnits: 1
|
|
||||||
_preferredForwardBufferDuration: 0
|
|
||||||
_preferredMaximumResolution: 0
|
|
||||||
_customPreferredMaximumResolution: {x: 0, y: 0}
|
|
||||||
_optionsAndroid:
|
|
||||||
httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
_preferredMaximumResolution: 0
|
|
||||||
_customPreferredMaximumResolution: {x: 0, y: 0}
|
|
||||||
_preferredPeakBitRate: 0
|
|
||||||
_preferredPeakBitRateUnits: 1
|
|
||||||
videoApi: 2
|
|
||||||
useFastOesPath: 0
|
|
||||||
showPosterFrame: 0
|
|
||||||
audioOutput: 0
|
|
||||||
audio360ChannelMode: 0
|
|
||||||
preferSoftwareDecoder: 0
|
|
||||||
fileOffset: 0
|
|
||||||
startWithHighestBitrate: 0
|
|
||||||
minBufferMs: 50000
|
|
||||||
maxBufferMs: 50000
|
|
||||||
bufferForPlaybackMs: 2500
|
|
||||||
bufferForPlaybackAfterRebufferMs: 5000
|
|
||||||
enableAudio360: 0
|
|
||||||
_optionsWindowsUWP:
|
|
||||||
httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
useHardwareDecoding: 1
|
|
||||||
useTextureMips: 0
|
|
||||||
use10BitTextures: 0
|
|
||||||
hintOutput10Bit: 0
|
|
||||||
useLowLatency: 0
|
|
||||||
videoApi: 1
|
|
||||||
audioOutput: 0
|
|
||||||
audio360ChannelMode: 0
|
|
||||||
startWithHighestBitrate: 0
|
|
||||||
useLowLiveLatency: 0
|
|
||||||
_optionsWebGL:
|
|
||||||
httpHeaders:
|
|
||||||
httpHeaders: []
|
|
||||||
keyAuth:
|
|
||||||
keyServerToken:
|
|
||||||
overrideDecryptionKeyBase64:
|
|
||||||
overrideDecryptionKey:
|
|
||||||
externalLibrary: 0
|
|
||||||
useTextureMips: 0
|
|
||||||
m_VideoPath:
|
|
||||||
m_VideoLocation: 2
|
|
||||||
--- !u!4 &258588905
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 258588903}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 6
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &374150645
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 374150648}
|
|
||||||
- component: {fileID: 374150647}
|
|
||||||
- component: {fileID: 374150646}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: EventSystem
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &374150646
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 374150645}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_HorizontalAxis: Horizontal
|
|
||||||
m_VerticalAxis: Vertical
|
|
||||||
m_SubmitButton: Submit
|
|
||||||
m_CancelButton: Cancel
|
|
||||||
m_InputActionsPerSecond: 10
|
|
||||||
m_RepeatDelay: 0.5
|
|
||||||
m_ForceModuleActive: 0
|
|
||||||
--- !u!114 &374150647
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 374150645}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_FirstSelected: {fileID: 0}
|
|
||||||
m_sendNavigationEvents: 1
|
|
||||||
m_DragThreshold: 10
|
|
||||||
--- !u!4 &374150648
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 374150645}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 2
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &417860556
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 417860558}
|
|
||||||
- component: {fileID: 417860557}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Directional Light
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!108 &417860557
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 417860556}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 10
|
|
||||||
m_Type: 1
|
|
||||||
m_Shape: 0
|
|
||||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
|
||||||
m_Intensity: 1
|
|
||||||
m_Range: 10
|
|
||||||
m_SpotAngle: 30
|
|
||||||
m_InnerSpotAngle: 21.80208
|
|
||||||
m_CookieSize: 10
|
|
||||||
m_Shadows:
|
|
||||||
m_Type: 1
|
|
||||||
m_Resolution: 2
|
|
||||||
m_CustomResolution: -1
|
|
||||||
m_Strength: 1
|
|
||||||
m_Bias: 0
|
|
||||||
m_NormalBias: 0.422
|
|
||||||
m_NearPlane: 0.56
|
|
||||||
m_CullingMatrixOverride:
|
|
||||||
e00: 1
|
|
||||||
e01: 0
|
|
||||||
e02: 0
|
|
||||||
e03: 0
|
|
||||||
e10: 0
|
|
||||||
e11: 1
|
|
||||||
e12: 0
|
|
||||||
e13: 0
|
|
||||||
e20: 0
|
|
||||||
e21: 0
|
|
||||||
e22: 1
|
|
||||||
e23: 0
|
|
||||||
e30: 0
|
|
||||||
e31: 0
|
|
||||||
e32: 0
|
|
||||||
e33: 1
|
|
||||||
m_UseCullingMatrixOverride: 0
|
|
||||||
m_Cookie: {fileID: 0}
|
|
||||||
m_DrawHalo: 0
|
|
||||||
m_Flare: {fileID: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_Lightmapping: 4
|
|
||||||
m_LightShadowCasterMode: 0
|
|
||||||
m_AreaSize: {x: 1, y: 1}
|
|
||||||
m_BounceIntensity: 1
|
|
||||||
m_ColorTemperature: 6570
|
|
||||||
m_UseColorTemperature: 0
|
|
||||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_UseBoundingSphereOverride: 0
|
|
||||||
m_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &417860558
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 417860556}
|
|
||||||
m_LocalRotation: {x: 0.39044833, y: 0.34682897, z: -0.161729, w: 0.8373192}
|
|
||||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: 45, z: 0}
|
|
||||||
--- !u!1 &564530023 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 1358457487}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!95 &564530025
|
|
||||||
Animator:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 564530023}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_Avatar: {fileID: 0}
|
|
||||||
m_Controller: {fileID: 9100000, guid: 23ada0d3368519c4c9ab56512f3a80f0, type: 2}
|
|
||||||
m_CullingMode: 0
|
|
||||||
m_UpdateMode: 0
|
|
||||||
m_ApplyRootMotion: 0
|
|
||||||
m_LinearVelocityBlending: 0
|
|
||||||
m_WarningMessage:
|
|
||||||
m_HasTransformHierarchy: 1
|
|
||||||
m_AllowConstantClipSamplingOptimization: 1
|
|
||||||
m_KeepAnimatorControllerStateOnDisable: 0
|
|
||||||
--- !u!114 &564530026
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 564530023}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 8baf9644cea044f4b9542a63901414a3, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!1 &583583715
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 583583719}
|
|
||||||
- component: {fileID: 583583718}
|
|
||||||
- component: {fileID: 583583717}
|
|
||||||
- component: {fileID: 583583716}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Plane
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!64 &583583716
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 583583715}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Convex: 0
|
|
||||||
m_CookingOptions: 30
|
|
||||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!23 &583583717
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 583583715}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 0
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: 304fbd5441391b74cbc49963e461c7e0, type: 2}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!33 &583583718
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 583583715}
|
|
||||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &583583719
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 583583715}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: -10, z: 22}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 5
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &1299667690
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1299667694}
|
|
||||||
- component: {fileID: 1299667693}
|
|
||||||
- component: {fileID: 1299667692}
|
|
||||||
- component: {fileID: 1299667691}
|
|
||||||
- component: {fileID: 1299667695}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Quad
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!64 &1299667691
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1299667690}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Convex: 0
|
|
||||||
m_CookingOptions: 30
|
|
||||||
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!23 &1299667692
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1299667690}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!33 &1299667693
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1299667690}
|
|
||||||
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &1299667694
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1299667690}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 900}
|
|
||||||
m_LocalScale: {x: 1920, y: 1080, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 4
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!114 &1299667695
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1299667690}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: f6d1977a52888584496b1acc7e998011, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
_media: {fileID: 258588904}
|
|
||||||
_automaticStereoPacking: 1
|
|
||||||
_overrideStereoPacking: 0
|
|
||||||
_stereoRedGreenTint: 0
|
|
||||||
_defaultTexture: {fileID: 0}
|
|
||||||
_renderer: {fileID: 1299667692}
|
|
||||||
_materialIndex: -1
|
|
||||||
_texturePropertyName: _MainTex
|
|
||||||
_offset: {x: 0, y: 0}
|
|
||||||
_scale: {x: 1, y: 1}
|
|
||||||
--- !u!1001 &1358457487
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 3
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalScale.x
|
|
||||||
value: 3
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalScale.y
|
|
||||||
value: 3
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalScale.z
|
|
||||||
value: 3
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: -10
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 20
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 919132149155446097, guid: 0f2ea8e54c2f1bf4f871020d54be0bda,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: mc_all_animations
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 0f2ea8e54c2f1bf4f871020d54be0bda, type: 3}
|
|
||||||
--- !u!1 &1911824466
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1911824469}
|
|
||||||
- component: {fileID: 1911824468}
|
|
||||||
- component: {fileID: 1911824467}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Main Camera
|
|
||||||
m_TagString: MainCamera
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!81 &1911824467
|
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1911824466}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &1911824468
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1911824466}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ClearFlags: 1
|
|
||||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
|
||||||
m_projectionMatrixMode: 1
|
|
||||||
m_GateFitMode: 2
|
|
||||||
m_FOVAxisMode: 0
|
|
||||||
m_SensorSize: {x: 36, y: 24}
|
|
||||||
m_LensShift: {x: 0, y: 0}
|
|
||||||
m_FocalLength: 50
|
|
||||||
m_NormalizedViewPortRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
near clip plane: 0.3
|
|
||||||
far clip plane: 1000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 0
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: 2
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: 1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 1
|
|
||||||
m_HDR: 1
|
|
||||||
m_AllowMSAA: 1
|
|
||||||
m_AllowDynamicResolution: 0
|
|
||||||
m_ForceIntoRT: 0
|
|
||||||
m_OcclusionCulling: 0
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
--- !u!4 &1911824469
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1911824466}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
2982
Assets/Scenes/VideoPlay.unity
Normal file
2982
Assets/Scenes/VideoPlay.unity
Normal file
File diff suppressed because it is too large
Load Diff
@ -24,7 +24,7 @@ namespace Assets.Scripts.Apis
|
|||||||
return jsonResult;
|
return jsonResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<JsonResult<List<JObject>>> GetMapInterruptRecord(string keyword, int pageIndex, int pageSize, string type)
|
public async Task<JsonResult<List<JObject>>> GetMapInterruptRecord(string keyword, int pageIndex, int pageSize, string type= "routes")
|
||||||
{
|
{
|
||||||
//RouteResult
|
//RouteResult
|
||||||
return await GetAsync<JsonResult<List<JObject>>>($"MapRecord/v1/GetList?keyword={keyword}&pageIndex={pageIndex}&pageSize={pageSize}&type={type}");
|
return await GetAsync<JsonResult<List<JObject>>>($"MapRecord/v1/GetList?keyword={keyword}&pageIndex={pageIndex}&pageSize={pageSize}&type={type}");
|
||||||
|
|||||||
@ -168,6 +168,7 @@ namespace Assets.Scripts.Apis.Models
|
|||||||
|
|
||||||
public double Grade { get; set; }
|
public double Grade { get; set; }
|
||||||
public double Bearing { get; set; }
|
public double Bearing { get; set; }
|
||||||
|
public double Speed { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
|
|||||||
@ -106,5 +106,7 @@ namespace Assets.Scripts.Apis.Models
|
|||||||
|
|
||||||
public int GlobalCyclingId { get; set; }
|
public int GlobalCyclingId { get; set; }
|
||||||
public string Source { get; set; }
|
public string Source { get; set; }
|
||||||
|
|
||||||
|
public int? LastFrame { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -165,5 +165,7 @@ namespace Assets.Scripts.Apis.Models
|
|||||||
public string CanShareOnStrava { get; set; }
|
public string CanShareOnStrava { get; set; }
|
||||||
|
|
||||||
public string ViewUrl { get; set; }
|
public string ViewUrl { get; set; }
|
||||||
|
|
||||||
|
public int? LastFrame { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,7 +20,7 @@ public delegate void ChangeLanguageDelegate();
|
|||||||
|
|
||||||
public static class App
|
public static class App
|
||||||
{
|
{
|
||||||
public static string Host = "http://192.168.0.101:5083/";
|
public static string Host = "http://192.168.0.102:5082/";
|
||||||
|
|
||||||
public static string AppVersion = Application.version;
|
public static string AppVersion = Application.version;
|
||||||
|
|
||||||
@ -201,9 +201,9 @@ public static class App
|
|||||||
static App()
|
static App()
|
||||||
{
|
{
|
||||||
InitLanguage();
|
InitLanguage();
|
||||||
Host = "https://wx.powerfun.com.cn/";
|
//Host = "https://wx.powerfun.com.cn/";
|
||||||
UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11000);
|
//UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11000);
|
||||||
TcpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11001);
|
//TcpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11001);
|
||||||
//#if !UNITY_EDITOR
|
//#if !UNITY_EDITOR
|
||||||
// //测试服务器
|
// //测试服务器
|
||||||
// Host = "http://pf.juze.pro/";
|
// Host = "http://pf.juze.pro/";
|
||||||
|
|||||||
@ -345,7 +345,7 @@ namespace Assets.Scripts.Devices.Ant
|
|||||||
case SensorType.None:
|
case SensorType.None:
|
||||||
break;
|
break;
|
||||||
case SensorType.Cadence:
|
case SensorType.Cadence:
|
||||||
Debug.LogError("发现踏频设备"+id);
|
Debug.Log("发现踏频设备"+id);
|
||||||
device = new CadenceDevice(id);
|
device = new CadenceDevice(id);
|
||||||
break;
|
break;
|
||||||
case SensorType.HeartRate:
|
case SensorType.HeartRate:
|
||||||
|
|||||||
@ -65,7 +65,7 @@ public static class PFConstants
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Application.persistentDataPath+@"/video";
|
return Application.streamingAssetsPath+ @"/AVProVideoSamples";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,15 +19,15 @@ namespace Assets.Scenes.Ride.Scripts.Model.CyclingModels
|
|||||||
{
|
{
|
||||||
CurrentUser = App.CurrentUser,
|
CurrentUser = App.CurrentUser,
|
||||||
Competitionid = 0,
|
Competitionid = 0,
|
||||||
ContinueIndex = 0,
|
ContinueIndex = 0,
|
||||||
ContinueMark = Guid.NewGuid().ToString(),
|
ContinueMark = Guid.NewGuid().ToString(),
|
||||||
EndDistance = 0,
|
EndDistance = 0,
|
||||||
IsCompleted = false,
|
IsCompleted = false,
|
||||||
IsNeedRanking = true,
|
IsNeedRanking = true,
|
||||||
CyclingState = CyclingStateEnum.Prepare,
|
CyclingState = CyclingStateEnum.Prepare,
|
||||||
CurrentRoute = route,
|
CurrentRoute = route,
|
||||||
CurrentRouteStartDistance = 0,
|
CurrentRouteStartDistance = 0,
|
||||||
StartTime = UIManager.Now.GetDateTime(),//DateTime.Now
|
StartTime = DateTime.Now,//UIManager.Now.GetDateTime(),//DateTime.Now
|
||||||
selectParam = param
|
selectParam = param
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -8,6 +8,12 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Assets.Scenes.Ride.Scripts.Model
|
namespace Assets.Scenes.Ride.Scripts.Model
|
||||||
{
|
{
|
||||||
|
public class VideoMapModel {
|
||||||
|
public double x { get; set; }
|
||||||
|
public double y { get; set; }
|
||||||
|
public double speed { get; set; }
|
||||||
|
public int position { get; set; }
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排名
|
/// 排名
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -24,7 +24,7 @@ namespace Assets.Scenes.Ride.Scripts.Model
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return CurrentUser.Id;
|
return App.CurrentUser.Id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -104,6 +104,8 @@ namespace Assets.Scenes.Ride.Scripts.Model
|
|||||||
public DateTime StartTime { get; set; }
|
public DateTime StartTime { get; set; }
|
||||||
|
|
||||||
public DateTime EndTime { get; set; }
|
public DateTime EndTime { get; set; }
|
||||||
|
|
||||||
|
public int? LastFrame { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否已经保存成功
|
/// 是否已经保存成功
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -178,6 +180,7 @@ namespace Assets.Scenes.Ride.Scripts.Model
|
|||||||
Param = Newtonsoft.Json.JsonConvert.SerializeObject(selectParam),
|
Param = Newtonsoft.Json.JsonConvert.SerializeObject(selectParam),
|
||||||
GlobalCyclingId = 0,
|
GlobalCyclingId = 0,
|
||||||
Source = "",
|
Source = "",
|
||||||
|
LastFrame = LastFrame
|
||||||
};
|
};
|
||||||
//var range = new MapSpeedRange().GetSpeedRange(RiderDatas, CurrentRoute.RouteInstance.Distance);
|
//var range = new MapSpeedRange().GetSpeedRange(RiderDatas, CurrentRoute.RouteInstance.Distance);
|
||||||
interruptRecord.SpeedRange = null; //JsonConvert.SerializeObject(range);
|
interruptRecord.SpeedRange = null; //JsonConvert.SerializeObject(range);
|
||||||
|
|||||||
8
Assets/Scripts/Scenes/VideoRide.meta
Normal file
8
Assets/Scripts/Scenes/VideoRide.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9e12ee4de0a244145b7d08a49220dfc2
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
158
Assets/Scripts/Scenes/VideoRide/AbstractVideoPlayer.cs
Normal file
158
Assets/Scripts/Scenes/VideoRide/AbstractVideoPlayer.cs
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
using Assets.Scripts.Apis.Models;
|
||||||
|
using DG.Tweening;
|
||||||
|
using Mapbox.Utils;
|
||||||
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Assets.Scripts.Scenes.VideoRide
|
||||||
|
{
|
||||||
|
public abstract class AbstractVideoPlayer : MonoBehaviour
|
||||||
|
{
|
||||||
|
protected Animator animator;
|
||||||
|
protected double weight;//体重
|
||||||
|
protected double bicycleWeight;//车重
|
||||||
|
protected double preSpeed;
|
||||||
|
protected double speed;
|
||||||
|
protected double power;
|
||||||
|
protected double elevation;
|
||||||
|
protected double cadance;
|
||||||
|
protected int? heartRate { get; set; }
|
||||||
|
public int ticks;
|
||||||
|
protected double totalDistance;
|
||||||
|
protected double currentSlope;
|
||||||
|
protected double nextSlope;
|
||||||
|
protected double nextSlopeDistance;
|
||||||
|
protected double distance;
|
||||||
|
protected double currentSlopeDistance;
|
||||||
|
protected double lastEndDistance;
|
||||||
|
protected double totalClimb;
|
||||||
|
protected Vector2d currentlatLon;
|
||||||
|
protected int currentIndex;
|
||||||
|
protected float bearing = 0f;
|
||||||
|
protected MapDataModel mapData;
|
||||||
|
float timer = 1f;
|
||||||
|
protected bool start = true;
|
||||||
|
protected VideoGameManager manager { get; set; }
|
||||||
|
|
||||||
|
protected virtual void Start()
|
||||||
|
{
|
||||||
|
animator = GetComponent<Animator>();
|
||||||
|
manager = FindObjectOfType<VideoGameManager>();
|
||||||
|
mapData = manager.GetMapData();
|
||||||
|
ComputeNextSlope();//初始化坡度等
|
||||||
|
animator.Play("idle");
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
timer -= Time.deltaTime;
|
||||||
|
ComputeAnimator();//控制动画
|
||||||
|
while (timer <= 0)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (manager.IsStart())
|
||||||
|
{
|
||||||
|
ticks++;
|
||||||
|
ComputeNextSlope();//计算下一个坡度
|
||||||
|
ComputePlayer();//计算人物属性
|
||||||
|
ComputeRecord();
|
||||||
|
ComputeVideo();
|
||||||
|
}
|
||||||
|
timer += 1f;
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
power = 0;
|
||||||
|
speed = 0;
|
||||||
|
Debug.Log(e.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//人物碰撞
|
||||||
|
void OnCollisionEnter(Collision collision)
|
||||||
|
{
|
||||||
|
if (collision.transform.name != "mc_all_animations")
|
||||||
|
{
|
||||||
|
var curX = collision.transform.position.x;
|
||||||
|
if (curX == 0)
|
||||||
|
{
|
||||||
|
var preX = manager.GetSlotIndex();
|
||||||
|
collision.transform.DOLocalMoveX(preX.Value, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//动画状态机
|
||||||
|
void ComputeAnimator()
|
||||||
|
{
|
||||||
|
if (animator != null)
|
||||||
|
{
|
||||||
|
animator.SetFloat("preSpeed", (float)preSpeed);
|
||||||
|
animator.SetFloat("speed", (float)speed);
|
||||||
|
animator.SetFloat("grade", (float)currentSlope);
|
||||||
|
var currentFrame = manager.GetCurrentFrame() ?? 0;
|
||||||
|
if (manager.mockDirection.ContainsKey(currentFrame))
|
||||||
|
{
|
||||||
|
bearing = manager.mockDirection[currentFrame];
|
||||||
|
}
|
||||||
|
animator.SetFloat("bearing", bearing);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//计算人物当前属性
|
||||||
|
protected abstract void ComputePlayer();
|
||||||
|
|
||||||
|
protected virtual void ComputeVideo(){ }
|
||||||
|
|
||||||
|
protected virtual void ComputeRecord() { }
|
||||||
|
|
||||||
|
//计算当前区段属性下一个区段属性
|
||||||
|
void ComputeNextSlope()
|
||||||
|
{
|
||||||
|
double sumDistance = 0;
|
||||||
|
var mapData = manager.GetMapData();
|
||||||
|
if (mapData == null)
|
||||||
|
return;
|
||||||
|
var pointList = mapData.List;
|
||||||
|
int preIndex = 0;
|
||||||
|
for (int i = 0; i < pointList.Count; i++)
|
||||||
|
{
|
||||||
|
sumDistance += pointList[i].Distance;
|
||||||
|
decimal left = (decimal)totalDistance * 1000;
|
||||||
|
decimal right = (decimal)sumDistance;
|
||||||
|
if (left <= right)
|
||||||
|
{
|
||||||
|
currentIndex = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var DOUBLE_DELTA = 1E-6;
|
||||||
|
if (Math.Abs(totalDistance - mapData.TotalDistance) < DOUBLE_DELTA)
|
||||||
|
{
|
||||||
|
currentIndex = pointList.Count - 1;
|
||||||
|
}
|
||||||
|
preIndex = currentIndex > 0 ? currentIndex - 1 : 0;//前一个索引
|
||||||
|
int nextIndex = currentIndex == pointList.Count - 1 ? currentIndex : currentIndex + 1; //计算下一个点的坡度和距离
|
||||||
|
|
||||||
|
elevation = pointList[currentIndex].Elevation;
|
||||||
|
currentSlope = pointList[currentIndex].Grade;
|
||||||
|
//CurrentDistance = pointList[currentIndex].Distance;
|
||||||
|
//计算下一个海拔和坡度&当前区间距离
|
||||||
|
nextSlope = pointList[nextIndex].Grade;
|
||||||
|
nextSlopeDistance = sumDistance - totalDistance * 1000;
|
||||||
|
//NextSlopeTotalDistance = pointList[nextIndex].Distance;
|
||||||
|
currentSlopeDistance = (totalDistance * 1000 - (sumDistance - pointList[currentIndex].Distance));
|
||||||
|
//计算累计爬升
|
||||||
|
totalClimb = 0;
|
||||||
|
for (int i = 1; i <= currentIndex; i++)
|
||||||
|
{
|
||||||
|
var diff = mapData.List[i].Elevation - mapData.List[i - 1].Elevation;
|
||||||
|
if (diff > 0)
|
||||||
|
{
|
||||||
|
totalClimb += diff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Scenes/VideoRide/AbstractVideoPlayer.cs.meta
Normal file
11
Assets/Scripts/Scenes/VideoRide/AbstractVideoPlayer.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7fecc58cd22dcfb4b87afc96b5be9d2e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
29
Assets/Scripts/Scenes/VideoRide/OnlineVideoPlayer.cs
Normal file
29
Assets/Scripts/Scenes/VideoRide/OnlineVideoPlayer.cs
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using DG.Tweening;
|
||||||
|
|
||||||
|
namespace Assets.Scripts.Scenes.VideoRide
|
||||||
|
{
|
||||||
|
public class OnlineVideoPlayer : AbstractVideoPlayer
|
||||||
|
{
|
||||||
|
public double diff { get; set; }
|
||||||
|
//计算
|
||||||
|
protected override void ComputePlayer()
|
||||||
|
{
|
||||||
|
diff = 10;
|
||||||
|
|
||||||
|
}
|
||||||
|
//设置当前玩家属性
|
||||||
|
public void SetPlayer(double power,double distance)
|
||||||
|
{
|
||||||
|
transform.DOLocalMoveZ(25, 1);
|
||||||
|
this.power = power;
|
||||||
|
this.distance = distance;
|
||||||
|
this.speed = 20;
|
||||||
|
this.totalDistance += distance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Scenes/VideoRide/OnlineVideoPlayer.cs.meta
Normal file
11
Assets/Scripts/Scenes/VideoRide/OnlineVideoPlayer.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a56584ff2ae65dd43af5e8299544f32f
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
110
Assets/Scripts/Scenes/VideoRide/TestPlayerController.cs
Normal file
110
Assets/Scripts/Scenes/VideoRide/TestPlayerController.cs
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
using Assets.Scenes.Ride.Scripts;
|
||||||
|
using Assets.Scenes.Ride.Scripts.Model;
|
||||||
|
using Assets.Scripts;
|
||||||
|
using Assets.Scripts.Apis.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.Networking;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using DG.Tweening;
|
||||||
|
using UnityEngine.Video;
|
||||||
|
namespace Assets.Scripts.Scenes.VideoRide
|
||||||
|
{
|
||||||
|
public class TestPlayerController : MonoBehaviour
|
||||||
|
{
|
||||||
|
UnityWebRequest request = null;
|
||||||
|
MapDataModel mapData;
|
||||||
|
MapRoute mapRoute;
|
||||||
|
int ticks = 0;
|
||||||
|
float timer = 1f;
|
||||||
|
double heartRate = 0;
|
||||||
|
public double power = 800;
|
||||||
|
double weight = 60;
|
||||||
|
double bicycleWeight = 10;
|
||||||
|
double elevation = 0f;
|
||||||
|
double currentSlope = 0f;
|
||||||
|
double speed = 0f;
|
||||||
|
double distance = 0f;
|
||||||
|
double totalDistance = 0f;
|
||||||
|
double bearingInterval = 0f;//线路当前转向
|
||||||
|
Animator animator;
|
||||||
|
VideoPlayer videoPlayer;
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
//测试数据
|
||||||
|
var routeId = 1255;
|
||||||
|
mapData = ConfigHelper.mapApi.GetData(routeId);//获取路书地理数据
|
||||||
|
mapRoute = ConfigHelper.mapApi.GetById(routeId).data;
|
||||||
|
animator = transform.GetComponent<Animator>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
timer -= Time.deltaTime;
|
||||||
|
while (timer <= 0)
|
||||||
|
{
|
||||||
|
//var animInfo = animator.GetCurrentAnimatorStateInfo(0);
|
||||||
|
//if (animInfo.normalizedTime < 0.6)
|
||||||
|
//{
|
||||||
|
// if (speed > 30)
|
||||||
|
// {
|
||||||
|
// animator.Play("New State Right");
|
||||||
|
// }
|
||||||
|
// else if (speed > 15)
|
||||||
|
// {
|
||||||
|
// animator.Play("RideLoop_Medium_01 1");
|
||||||
|
// }
|
||||||
|
// else if (speed == 0)
|
||||||
|
// {
|
||||||
|
// animator.Play("OnBicycle_01_Idle 0");
|
||||||
|
// videoPlayer.Pause();
|
||||||
|
// }
|
||||||
|
// else
|
||||||
|
// {
|
||||||
|
// animator.Play("RideLoop_01");
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
ticks++;
|
||||||
|
ComputeNextSlope();
|
||||||
|
speed = Helper.CalculateSpeed(elevation, currentSlope, power, weight, bicycleWeight);
|
||||||
|
distance = Math.Round(speed / 3600, 5, MidpointRounding.AwayFromZero);
|
||||||
|
totalDistance += distance;
|
||||||
|
Debug.Log($"ticks:{ticks} speed:{speed} totalDistance:{totalDistance} bearing:{bearingInterval}");
|
||||||
|
timer += 1f;
|
||||||
|
transform.DORotate(new Vector3(0f, (float)(180 + bearingInterval), 0f), 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
int currentIndex = 0;
|
||||||
|
void ComputeNextSlope()
|
||||||
|
{
|
||||||
|
double sumDistance = 0;
|
||||||
|
if (mapData == null)
|
||||||
|
return;
|
||||||
|
var pointList = mapData.List;
|
||||||
|
for (int i = 0; i < pointList.Count; i++)
|
||||||
|
{
|
||||||
|
sumDistance += pointList[i].Distance;
|
||||||
|
decimal left = (decimal)totalDistance * 1000;
|
||||||
|
decimal right = (decimal)sumDistance;
|
||||||
|
if (left <= right)
|
||||||
|
{
|
||||||
|
currentIndex = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var DOUBLE_DELTA = 1E-6;
|
||||||
|
if (Math.Abs(totalDistance - mapData.TotalDistance) < DOUBLE_DELTA)
|
||||||
|
{
|
||||||
|
currentIndex = pointList.Count - 1;
|
||||||
|
}
|
||||||
|
elevation = pointList[currentIndex].Elevation;
|
||||||
|
currentSlope = pointList[currentIndex].Grade;
|
||||||
|
var preindex = currentIndex - 1 >= 0 ? currentIndex - 1 : 0;
|
||||||
|
bearingInterval = pointList[currentIndex].Bearing - pointList[preindex].Bearing;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
294
Assets/Scripts/Scenes/VideoRide/VideoGameManager.cs
Normal file
294
Assets/Scripts/Scenes/VideoRide/VideoGameManager.cs
Normal file
@ -0,0 +1,294 @@
|
|||||||
|
using Assets.Scenes.Ride.Scripts;
|
||||||
|
using Assets.Scenes.Ride.Scripts.Model;
|
||||||
|
using Assets.Scenes.Ride.Scripts.Model.CyclingModels;
|
||||||
|
using Assets.Scripts.Apis;
|
||||||
|
using Assets.Scripts.Apis.Models;
|
||||||
|
using Assets.Scripts.UI.Prefab.Device;
|
||||||
|
using GeoJSON.Net.Geometry;
|
||||||
|
using Mapbox.Utils;
|
||||||
|
using RenderHeads.Media.AVProVideo;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using TurfCS;
|
||||||
|
using UnityEngine;
|
||||||
|
namespace Assets.Scripts.Scenes.VideoRide
|
||||||
|
{
|
||||||
|
public class VideoGameManager : DeviceServiceMonoBase
|
||||||
|
{
|
||||||
|
private List<VideoMapModel> videoPointList { get; set; }
|
||||||
|
private VideoPlayer currentVideoPlayer { get; set; }
|
||||||
|
private MapDataModel mapData { get; set; }
|
||||||
|
private MediaPlayer mediaPlayer { get; set; }
|
||||||
|
private bool isStart { get; set; }
|
||||||
|
private Route route { get; set; }
|
||||||
|
private MapRoute mapRoute { get; set; }
|
||||||
|
public RouteResultParam selectParamModel;
|
||||||
|
public RouteResult routeResult;
|
||||||
|
public string recordId { get; set; }
|
||||||
|
public DateTime startTime { get; set; }
|
||||||
|
public CyclingModel cyclingModel;
|
||||||
|
public BaseCycling cyclingController;
|
||||||
|
public Dictionary<int, int> mockDirection = new Dictionary<int, int>();
|
||||||
|
private double endDistance { get; set; }
|
||||||
|
|
||||||
|
public Dictionary<int, bool> slots = new Dictionary<int, bool>();
|
||||||
|
private async void Awake()
|
||||||
|
{
|
||||||
|
base.Awake();
|
||||||
|
//自动登录
|
||||||
|
if (App.CurrentUser == null)
|
||||||
|
{
|
||||||
|
await Login();
|
||||||
|
}
|
||||||
|
DeviceCache.Init(PFConstants.DeviceCacheFolder);
|
||||||
|
//var check = CheckAnt();
|
||||||
|
recordId = Guid.NewGuid().ToString();
|
||||||
|
startTime = UIManager.Now.GetDateTime();
|
||||||
|
MapUDPService.Init();//初始化TCP
|
||||||
|
MockDirection();
|
||||||
|
InitSlots();
|
||||||
|
}
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
//获取媒体播放器
|
||||||
|
mediaPlayer = FindObjectOfType<MediaPlayer>();
|
||||||
|
var mapApi = ConfigHelper.mapApi;
|
||||||
|
const int routeId = 12353;
|
||||||
|
mapData = mapApi.GetData(routeId);//获取路书地理数据
|
||||||
|
mapRoute = mapApi.GetById(routeId).data;
|
||||||
|
route = new Route(mapData, mapRoute);
|
||||||
|
|
||||||
|
if (selectParamModel == null)
|
||||||
|
{
|
||||||
|
selectParamModel = new RouteResultParam
|
||||||
|
{
|
||||||
|
CompetitionId = 0,
|
||||||
|
ContinueIndex = 0,
|
||||||
|
ContinueMark = "",
|
||||||
|
GlobalContinue = false,
|
||||||
|
EndDistance = 0,
|
||||||
|
RankingsId = new List<string>(),
|
||||||
|
OnlineUserId = 0,
|
||||||
|
RouteId = routeId
|
||||||
|
};
|
||||||
|
}
|
||||||
|
endDistance = 0;
|
||||||
|
//倒计时5s开始
|
||||||
|
SetCyclingModel(CyclingModel.Single);
|
||||||
|
}
|
||||||
|
// Update is called once per frame
|
||||||
|
float timer = 1f;
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
timer -= Time.deltaTime;
|
||||||
|
while (timer <= 0)
|
||||||
|
{
|
||||||
|
cyclingController?.Run(null);
|
||||||
|
var onlineRiders = cyclingController.riders;
|
||||||
|
timer += 1f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private void InitSlots()
|
||||||
|
{
|
||||||
|
slots.Add(2, true);
|
||||||
|
slots.Add(4, true);
|
||||||
|
slots.Add(-2, true);
|
||||||
|
slots.Add(-6, true);
|
||||||
|
slots.Add(-4, true);
|
||||||
|
slots.Add(-8, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int? GetSlotIndex()
|
||||||
|
{
|
||||||
|
foreach (var item in slots)
|
||||||
|
{
|
||||||
|
if (item.Value)
|
||||||
|
{
|
||||||
|
slots[item.Key] = false;
|
||||||
|
return item.Key;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
public async Task ContinueAsync()
|
||||||
|
{
|
||||||
|
//继续骑行数据
|
||||||
|
var r = await ConfigHelper.mapInterruptRecordApi.GetMapInterruptRecord("重庆", 0, 20, "routes");
|
||||||
|
if (r.result)
|
||||||
|
{
|
||||||
|
var first = r.data.FirstOrDefault();
|
||||||
|
RouteResult routeResult = first.ToObject<RouteResult>();
|
||||||
|
if (routeResult.ContinueCyclingParam != null)
|
||||||
|
{
|
||||||
|
App.RouteIdParam = routeResult.RouteId;
|
||||||
|
App.routeResult = routeResult;
|
||||||
|
//骑行结果
|
||||||
|
if (App.routeResult != null)
|
||||||
|
{
|
||||||
|
routeResult = App.routeResult;
|
||||||
|
selectParamModel = App.routeResult.ContinueCyclingParam;//继续骑行
|
||||||
|
SetCyclingModel(CyclingModel.Single);
|
||||||
|
endDistance = routeResult.EndDistance;
|
||||||
|
var ratio = endDistance / routeResult.TotalDistance;
|
||||||
|
var frame = Math.Round(ratio * mediaPlayer.Info.GetMaxFrameNumber());
|
||||||
|
SetCurrentFrame(routeResult.LastFrame ?? 0);
|
||||||
|
var v = FindObjectOfType<VideoPlayer>();
|
||||||
|
v.SetEndDistance(endDistance);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private void MockDirection()
|
||||||
|
{
|
||||||
|
var text = Resources.Load<TextAsset>("UI/direction");
|
||||||
|
var arr = text.text.Replace("\r\n", ",").Split(',');
|
||||||
|
foreach (var item in arr)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(item))
|
||||||
|
continue;
|
||||||
|
mockDirection.Add(Convert.ToInt32(item.Split(':')[0]), Convert.ToInt32(item.Split(':')[1]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void SetCyclingModel(CyclingModel mode)
|
||||||
|
{
|
||||||
|
this.cyclingModel = mode;
|
||||||
|
switch (cyclingModel)
|
||||||
|
{
|
||||||
|
case CyclingModel.Single:
|
||||||
|
cyclingController = new SingleModel(route, selectParamModel);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//模拟登录
|
||||||
|
private async Task Login()
|
||||||
|
{
|
||||||
|
var result = await new UserApi().Login("15261826280", "123456", "");
|
||||||
|
App.CurrentUser = result.data;
|
||||||
|
}
|
||||||
|
//开始游戏
|
||||||
|
public void StartGame()
|
||||||
|
{
|
||||||
|
startTime = UIManager.Now.GetDateTime();
|
||||||
|
isStart = true;
|
||||||
|
}
|
||||||
|
public bool IsStart()
|
||||||
|
{
|
||||||
|
return isStart;
|
||||||
|
}
|
||||||
|
//按照某种速度播放视频
|
||||||
|
public void Play(float playbackRate = 1f)
|
||||||
|
{
|
||||||
|
if (mediaPlayer != null)
|
||||||
|
{
|
||||||
|
mediaPlayer.PlaybackRate = playbackRate;
|
||||||
|
mediaPlayer.Play();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//暂停游戏
|
||||||
|
public void Pause()
|
||||||
|
{
|
||||||
|
mediaPlayer?.Pause();
|
||||||
|
}
|
||||||
|
public void Quit()
|
||||||
|
{
|
||||||
|
mediaPlayer?.Stop();
|
||||||
|
}
|
||||||
|
|
||||||
|
public int? GetCurrentFrame()
|
||||||
|
{
|
||||||
|
return mediaPlayer?.Control.GetCurrentTimeFrames();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetCurrentFrame(int seq)
|
||||||
|
{
|
||||||
|
mediaPlayer?.Control.SeekToFrame(seq);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Save(double totalDistance)
|
||||||
|
{
|
||||||
|
mediaPlayer?.Pause();//暂停视频
|
||||||
|
cyclingController.recorderData.EndTime = UIManager.Now.GetDateTime();
|
||||||
|
isStart = false;
|
||||||
|
var path = PFConstants.MapWorkoutRecordFolder + "/" + recordId;
|
||||||
|
Assets.Scenes.Ride.Scripts.Helper.CreateDirectoryIfNotExsit(path);
|
||||||
|
string imageFileName = path + "/" + Guid.NewGuid().ToString() + ".png";
|
||||||
|
CaptureCamera(Camera.main, new Rect(Screen.width * 0f, Screen.height * 0f, Screen.width * 0.5f, Screen.height * 0.5f), imageFileName);
|
||||||
|
cyclingController.recorderData.StartTime = startTime;
|
||||||
|
cyclingController.recorderData.IsCompleted = totalDistance >= mapData.TotalDistance;
|
||||||
|
cyclingController.recorderData.EndDistance = totalDistance;
|
||||||
|
cyclingController.recorderData.AntModelId = AntModelId;
|
||||||
|
cyclingController.recorderData.ManufacturerId = ManufacturerId;
|
||||||
|
cyclingController.recorderData.ManufacturerName = ManufacturerName;
|
||||||
|
cyclingController.recorderData.DeviceNumber = DeviceNumber;
|
||||||
|
cyclingController.recorderData.LastFrame = GetCurrentFrame();
|
||||||
|
var RankingId = cyclingController.recorderData.SaveWithLocalRecordAysnc(cyclingModel, selectParamModel, imageFileName, recordId, path);
|
||||||
|
}
|
||||||
|
protected void CaptureCamera(Camera camera, Rect rect, string fileName)
|
||||||
|
{
|
||||||
|
byte[] bytes = CaptureCameraReturnByte(camera, rect);
|
||||||
|
//var path = Helper.GetDataDir("MapWorkoutRecords/images");
|
||||||
|
//string filename = path + "/" + Guid.NewGuid().ToString() + ".png";
|
||||||
|
System.IO.File.WriteAllBytes(fileName, bytes);
|
||||||
|
//Debug.Log(string.Format("截屏了一张照片: {0}", filename));
|
||||||
|
}
|
||||||
|
private byte[] CaptureCameraReturnByte(Camera camera, Rect rect)
|
||||||
|
{
|
||||||
|
// 创建一个RenderTexture对象
|
||||||
|
RenderTexture rt = new RenderTexture((int)rect.width, (int)rect.height, 0);
|
||||||
|
// 临时设置相关相机的targetTexture为rt, 并手动渲染相关相机
|
||||||
|
camera.targetTexture = rt;
|
||||||
|
camera.Render();
|
||||||
|
//ps: --- 如果这样加上第二个相机,可以实现只截图某几个指定的相机一起看到的图像。
|
||||||
|
//ps: camera2.targetTexture = rt;
|
||||||
|
//ps: camera2.Render();
|
||||||
|
//ps: -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// 激活这个rt, 并从中中读取像素。
|
||||||
|
RenderTexture.active = rt;
|
||||||
|
Texture2D screenShot = new Texture2D((int)rect.width, (int)rect.height, TextureFormat.RGB24, false);
|
||||||
|
screenShot.ReadPixels(rect, 0, 0);// 注:这个时候,它是从RenderTexture.active中读取像素
|
||||||
|
screenShot.Apply();
|
||||||
|
|
||||||
|
// 重置相关参数,以使用camera继续在屏幕上显示
|
||||||
|
camera.targetTexture = null;
|
||||||
|
//ps: camera2.targetTexture = null;
|
||||||
|
RenderTexture.active = null; // JC: added to avoid errors
|
||||||
|
GameObject.Destroy(rt);
|
||||||
|
// 最后将这些纹理数据,成一个图片文件
|
||||||
|
return screenShot.EncodeToJPG();
|
||||||
|
}
|
||||||
|
//两个坐标之间的距离
|
||||||
|
public double Distance(Vector2d from, Vector2d to)
|
||||||
|
{
|
||||||
|
var pt1 = Turf.Point(new double[] { from.x, from.y });
|
||||||
|
var pt2 = Turf.Point(new double[] { to.x, to.y });
|
||||||
|
return Turf.Distance(pt1, pt2);
|
||||||
|
}
|
||||||
|
//根据距离计算下一个点坐标
|
||||||
|
public Vector2d Along(double endDistance)
|
||||||
|
{
|
||||||
|
if (mapData != null)
|
||||||
|
{
|
||||||
|
var list = mapData.List.Select(p => new GeoJSON.Net.Geometry.GeographicPosition(p.Point[0], p.Point[1]));
|
||||||
|
LineString lineString = new LineString(list);
|
||||||
|
var pt1 = Turf.Along(lineString, endDistance);
|
||||||
|
var ll = ((GeographicPosition)((GeoJSON.Net.Geometry.Point)pt1.Geometry).Coordinates);
|
||||||
|
return new Vector2d(ll.Latitude, ll.Longitude);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return new Vector2d(0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public MapDataModel GetMapData()
|
||||||
|
{
|
||||||
|
return mapData;
|
||||||
|
}
|
||||||
|
public List<VideoMapModel> getVideoPointList()
|
||||||
|
{
|
||||||
|
return videoPointList;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Scenes/VideoRide/VideoGameManager.cs.meta
Normal file
11
Assets/Scripts/Scenes/VideoRide/VideoGameManager.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 693e7abaf474b6a498a2940d602e0d8e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
104
Assets/Scripts/Scenes/VideoRide/VideoPlayer.cs
Normal file
104
Assets/Scripts/Scenes/VideoRide/VideoPlayer.cs
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
using Assets.Scenes.Ride.Scripts;
|
||||||
|
using Assets.Scenes.Ride.Scripts.Model;
|
||||||
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Assets.Scripts.Scenes.VideoRide
|
||||||
|
{
|
||||||
|
public class VideoPlayer : AbstractVideoPlayer
|
||||||
|
{
|
||||||
|
protected override void Start()
|
||||||
|
{
|
||||||
|
base.Start();
|
||||||
|
animator.Play("idle");
|
||||||
|
}
|
||||||
|
public void SetPower(double power)
|
||||||
|
{
|
||||||
|
this.power = power;
|
||||||
|
}
|
||||||
|
public void SetEndDistance(double distance)
|
||||||
|
{
|
||||||
|
this.totalDistance = distance;
|
||||||
|
}
|
||||||
|
public void Complete()
|
||||||
|
{
|
||||||
|
start = false;
|
||||||
|
manager.Save(totalDistance);
|
||||||
|
}
|
||||||
|
protected override void ComputePlayer()
|
||||||
|
{
|
||||||
|
heartRate = manager.UpDateHeart();
|
||||||
|
//power = manager.UpdatePower();
|
||||||
|
cadance = manager.UpdateCadence();
|
||||||
|
weight = App.CurrentUser.Weight;
|
||||||
|
bicycleWeight = App.CurrentUser.BicycleWeight;
|
||||||
|
//发送阻力
|
||||||
|
manager.TrackResistance(currentSlope);
|
||||||
|
if (power > 0)
|
||||||
|
{
|
||||||
|
preSpeed = speed;
|
||||||
|
speed = Helper.CalculateSpeed(elevation, currentSlope, power, weight, bicycleWeight);
|
||||||
|
distance = Math.Round(speed / 3600, 5, MidpointRounding.AwayFromZero);
|
||||||
|
totalDistance += distance;
|
||||||
|
currentlatLon = manager.Along(totalDistance);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
speed = 0;
|
||||||
|
distance = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//控制视频播放速度
|
||||||
|
protected override void ComputeVideo()
|
||||||
|
{
|
||||||
|
mapData = manager.GetMapData();
|
||||||
|
float ratio = 1;
|
||||||
|
if (currentIndex + 1 < mapData.List.Count)
|
||||||
|
{
|
||||||
|
ratio = (float)(speed / mapData.List[currentIndex + 1].Speed);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ratio = (float)(speed / mapData.List[currentIndex].Speed);
|
||||||
|
}
|
||||||
|
|
||||||
|
manager.Play(ratio);
|
||||||
|
|
||||||
|
if (totalDistance >= mapData.TotalDistance)
|
||||||
|
{
|
||||||
|
start = false;
|
||||||
|
manager.Pause();//暂停视频
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void ComputeRecord()
|
||||||
|
{
|
||||||
|
var mapData = manager.GetMapData();
|
||||||
|
Debug.Log($"ticks:{ticks}-{manager.GetCurrentFrame()}-endistance:{totalDistance}-totalDistance:{mapData.TotalDistance}-index:{currentIndex}-speed:{speed}-currentSlope:{currentSlope}-GetCurrentFrame:{manager.GetCurrentFrame()}-currentlatLon:{bearing}");
|
||||||
|
//记录骑行数据
|
||||||
|
var recorderData = manager.cyclingController.recorderData;
|
||||||
|
var targetData = new TargetData
|
||||||
|
{
|
||||||
|
Ticks = ticks,
|
||||||
|
_Power = power,
|
||||||
|
_Speed = speed,
|
||||||
|
_Distance = totalDistance > mapData.TotalDistance ? mapData.TotalDistance : totalDistance,
|
||||||
|
_Cadence = cadance,
|
||||||
|
_HeartRate = heartRate,
|
||||||
|
_Lat = currentlatLon.x,
|
||||||
|
_Lon = currentlatLon.y,
|
||||||
|
_TotalClimb = totalClimb,
|
||||||
|
};
|
||||||
|
var preDistance = totalDistance >= mapData.TotalDistance ? targetData._Distance : targetData._Distance - distance;
|
||||||
|
recorderData.PreDistance = Math.Round(preDistance, 6, MidpointRounding.AwayFromZero);
|
||||||
|
recorderData.EndDistance = Math.Round(targetData._Distance, 6, MidpointRounding.AwayFromZero);
|
||||||
|
recorderData.RiderDatas.Add(targetData);
|
||||||
|
|
||||||
|
if (totalDistance >= mapData.TotalDistance)
|
||||||
|
{
|
||||||
|
start = false;
|
||||||
|
manager.Save(totalDistance);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 8baf9644cea044f4b9542a63901414a3
|
guid: 21a384a3224d3b248b1d79d68a1e7578
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
79
Assets/Scripts/Scenes/VideoRide/VideoUIManager.cs
Normal file
79
Assets/Scripts/Scenes/VideoRide/VideoUIManager.cs
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
namespace Assets.Scripts.Scenes.VideoRide
|
||||||
|
{
|
||||||
|
public class VideoUIManager : MonoBehaviour
|
||||||
|
{
|
||||||
|
GameObject button;
|
||||||
|
VideoGameManager manager;
|
||||||
|
VideoPlayer videoPlayer;
|
||||||
|
Text infoText { get; set; }
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
UIManager.SetModalPanel(transform.Find("ModalPanel").GetComponent<PFUIPanel>());
|
||||||
|
manager = FindObjectOfType<VideoGameManager>();
|
||||||
|
videoPlayer = FindObjectOfType<VideoPlayer>();
|
||||||
|
button = transform.Find("Panel/Button").gameObject;
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
GameObject start = transform.Find("Panel/start").gameObject;
|
||||||
|
GameObject stop = transform.Find("Panel/stop").gameObject;
|
||||||
|
GameObject save = transform.Find("Panel/save").gameObject;
|
||||||
|
|
||||||
|
GameObject left = transform.Find("Panel/left").gameObject;
|
||||||
|
GameObject right = transform.Find("Panel/right").gameObject;
|
||||||
|
GameObject continueBtn = transform.Find("Panel/continue").gameObject;
|
||||||
|
UIManager.AddEvent(continueBtn, UnityEngine.EventSystems.EventTriggerType.PointerClick, async (s) =>
|
||||||
|
{
|
||||||
|
await manager.ContinueAsync();
|
||||||
|
});
|
||||||
|
infoText = transform.Find("InfoText").GetComponent<Text>();
|
||||||
|
UIManager.AddEvent(button, UnityEngine.EventSystems.EventTriggerType.PointerClick, (s) =>
|
||||||
|
{
|
||||||
|
UIManager.Show(UIManager.Instance.DevicePanel, null, true);
|
||||||
|
});
|
||||||
|
UIManager.AddEvent(start, UnityEngine.EventSystems.EventTriggerType.PointerClick, (s) =>
|
||||||
|
{
|
||||||
|
videoPlayer.SetPower(200);
|
||||||
|
var list = FindObjectsOfType<OnlineVideoPlayer>();
|
||||||
|
foreach (var item in list)
|
||||||
|
{
|
||||||
|
item.SetPlayer(100, 10);
|
||||||
|
}
|
||||||
|
manager.StartGame();
|
||||||
|
});
|
||||||
|
UIManager.AddEvent(stop, UnityEngine.EventSystems.EventTriggerType.PointerClick, (s) =>
|
||||||
|
{
|
||||||
|
sb.AppendLine($"{manager.GetCurrentFrame()}:{0}");
|
||||||
|
Debug.Log(sb.ToString());
|
||||||
|
videoPlayer.SetPower(0);
|
||||||
|
});
|
||||||
|
UIManager.AddEvent(save, UnityEngine.EventSystems.EventTriggerType.PointerClick, (s) =>
|
||||||
|
{
|
||||||
|
videoPlayer.Complete();
|
||||||
|
});
|
||||||
|
|
||||||
|
UIManager.AddEvent(left, UnityEngine.EventSystems.EventTriggerType.PointerClick, (s) =>
|
||||||
|
{
|
||||||
|
sb.AppendLine($"{manager.GetCurrentFrame()}:{-5}");
|
||||||
|
});
|
||||||
|
UIManager.AddEvent(right, UnityEngine.EventSystems.EventTriggerType.PointerClick, (s) =>
|
||||||
|
{
|
||||||
|
sb.AppendLine($"{manager.GetCurrentFrame()}:{5}");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
if (videoPlayer != null && manager != null)
|
||||||
|
{
|
||||||
|
infoText.text = $"帧数:{manager.GetCurrentFrame()}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Scenes/VideoRide/VideoUIManager.cs.meta
Normal file
11
Assets/Scripts/Scenes/VideoRide/VideoUIManager.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: deea375efff5f3d46a95e5b7b7165151
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
61
Assets/Scripts/Scenes/VideoRide/testDownLoad.cs
Normal file
61
Assets/Scripts/Scenes/VideoRide/testDownLoad.cs
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
using Assets.Scenes.Ride.Scripts;
|
||||||
|
using Assets.Scenes.Ride.Scripts.Model;
|
||||||
|
using Assets.Scripts;
|
||||||
|
using Assets.Scripts.Apis.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.Networking;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using UnityEngine.Video;
|
||||||
|
namespace Assets.Scripts.Scenes.VideoRide
|
||||||
|
{
|
||||||
|
public class testDownLoad : MonoBehaviour
|
||||||
|
{
|
||||||
|
UnityWebRequest request = null;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
//测试UI
|
||||||
|
var button = transform.GetComponent<Button>();
|
||||||
|
var text = transform.GetComponentInChildren<Text>();
|
||||||
|
var inputFiled = transform.parent.GetComponentInChildren<InputField>();
|
||||||
|
var player = FindObjectOfType<VideoPlayer>();
|
||||||
|
var testPlayer = FindObjectOfType<TestPlayerController>();
|
||||||
|
var url = @"http://192.168.0.97:6031/12067924_720p.mp4";
|
||||||
|
var currentPath = "";
|
||||||
|
inputFiled.onValueChanged.AddListener((s) =>
|
||||||
|
{
|
||||||
|
testPlayer.power = Convert.ToDouble(s);
|
||||||
|
});
|
||||||
|
button.onClick.AddListener(() =>
|
||||||
|
{
|
||||||
|
StartCoroutine(Utils.DownloadVideo("sdsd.mp4", url
|
||||||
|
, (p, req) =>
|
||||||
|
{
|
||||||
|
text.text = Math.Round(p * 100, 2).ToString() + "%";
|
||||||
|
request = req;
|
||||||
|
}
|
||||||
|
, (path) =>
|
||||||
|
{
|
||||||
|
text.text = "100%";
|
||||||
|
currentPath = path;
|
||||||
|
//player.url = path;
|
||||||
|
}
|
||||||
|
));
|
||||||
|
if (!string.IsNullOrEmpty(currentPath))
|
||||||
|
{
|
||||||
|
//player.url = currentPath;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,108 +0,0 @@
|
|||||||
using Assets.Scenes.Ride.Scripts;
|
|
||||||
using Assets.Scenes.Ride.Scripts.Model;
|
|
||||||
using Assets.Scripts;
|
|
||||||
using Assets.Scripts.Apis.Models;
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.Networking;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
using DG.Tweening;
|
|
||||||
using UnityEngine.Video;
|
|
||||||
|
|
||||||
public class TestPlayerController : MonoBehaviour
|
|
||||||
{
|
|
||||||
UnityWebRequest request = null;
|
|
||||||
MapDataModel mapData;
|
|
||||||
MapRoute mapRoute;
|
|
||||||
int ticks = 0;
|
|
||||||
float timer = 1f;
|
|
||||||
double heartRate = 0;
|
|
||||||
public double power = 800;
|
|
||||||
double weight = 60;
|
|
||||||
double bicycleWeight = 10;
|
|
||||||
double elevation = 0f;
|
|
||||||
double currentSlope = 0f;
|
|
||||||
double speed = 0f;
|
|
||||||
double distance = 0f;
|
|
||||||
double totalDistance = 0f;
|
|
||||||
double bearingInterval = 0f;//线路当前转向
|
|
||||||
Animator animator;
|
|
||||||
VideoPlayer videoPlayer;
|
|
||||||
// Start is called before the first frame update
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
//测试数据
|
|
||||||
var routeId = 1255;
|
|
||||||
mapData = ConfigHelper.mapApi.GetData(routeId);//获取路书地理数据
|
|
||||||
mapRoute = ConfigHelper.mapApi.GetById(routeId).data;
|
|
||||||
animator = transform.GetComponent<Animator>();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
timer -= Time.deltaTime;
|
|
||||||
while (timer <= 0)
|
|
||||||
{
|
|
||||||
//var animInfo = animator.GetCurrentAnimatorStateInfo(0);
|
|
||||||
//if (animInfo.normalizedTime < 0.6)
|
|
||||||
//{
|
|
||||||
// if (speed > 30)
|
|
||||||
// {
|
|
||||||
// animator.Play("New State Right");
|
|
||||||
// }
|
|
||||||
// else if (speed > 15)
|
|
||||||
// {
|
|
||||||
// animator.Play("RideLoop_Medium_01 1");
|
|
||||||
// }
|
|
||||||
// else if (speed == 0)
|
|
||||||
// {
|
|
||||||
// animator.Play("OnBicycle_01_Idle 0");
|
|
||||||
// videoPlayer.Pause();
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// animator.Play("RideLoop_01");
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
ticks++;
|
|
||||||
ComputeNextSlope();
|
|
||||||
speed = Helper.CalculateSpeed(elevation, currentSlope, power, weight, bicycleWeight);
|
|
||||||
distance = Math.Round(speed / 3600, 5, MidpointRounding.AwayFromZero);
|
|
||||||
totalDistance += distance;
|
|
||||||
Debug.Log($"ticks:{ticks} speed:{speed} totalDistance:{totalDistance} bearing:{bearingInterval}");
|
|
||||||
timer += 1f;
|
|
||||||
transform.DORotate(new Vector3(0f, (float)(180 + bearingInterval), 0f), 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
int currentIndex = 0;
|
|
||||||
void ComputeNextSlope()
|
|
||||||
{
|
|
||||||
double sumDistance = 0;
|
|
||||||
if (mapData == null)
|
|
||||||
return;
|
|
||||||
var pointList = mapData.List;
|
|
||||||
for (int i = 0; i < pointList.Count; i++)
|
|
||||||
{
|
|
||||||
sumDistance += pointList[i].Distance;
|
|
||||||
decimal left = (decimal)totalDistance * 1000;
|
|
||||||
decimal right = (decimal)sumDistance;
|
|
||||||
if (left <= right)
|
|
||||||
{
|
|
||||||
currentIndex = i;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var DOUBLE_DELTA = 1E-6;
|
|
||||||
if (Math.Abs(totalDistance - mapData.TotalDistance) < DOUBLE_DELTA)
|
|
||||||
{
|
|
||||||
currentIndex = pointList.Count - 1;
|
|
||||||
}
|
|
||||||
elevation = pointList[currentIndex].Elevation;
|
|
||||||
currentSlope = pointList[currentIndex].Grade;
|
|
||||||
var preindex = currentIndex - 1 >= 0 ? currentIndex - 1 : 0;
|
|
||||||
bearingInterval = pointList[currentIndex].Bearing - pointList[preindex].Bearing;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class VideoPlayer : MonoBehaviour
|
|
||||||
{
|
|
||||||
// Start is called before the first frame update
|
|
||||||
Animator animator;
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
animator = GetComponent<Animator>();
|
|
||||||
//人物获取场景脚本
|
|
||||||
}
|
|
||||||
//人物碰撞
|
|
||||||
void OnCollisionEnter(Collision collision)
|
|
||||||
{
|
|
||||||
//if (collision.gameObject.name == "Sphere")
|
|
||||||
//{
|
|
||||||
// var Message = "进入碰撞,碰撞名称:" + collision.gameObject.name;
|
|
||||||
// collision.gameObject.GetComponent<TargetScript>().Log(Message);
|
|
||||||
//}
|
|
||||||
}
|
|
||||||
|
|
||||||
float timer = 1f;
|
|
||||||
int ticks = 0;
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
timer -= Time.deltaTime;
|
|
||||||
while (timer <= 0)
|
|
||||||
{
|
|
||||||
#region 动画封装
|
|
||||||
//起步
|
|
||||||
//快速骑
|
|
||||||
animator.speed = 1;
|
|
||||||
var currentInfo = animator.GetCurrentAnimatorStateInfo(0);
|
|
||||||
if (currentInfo.normalizedTime > 0.2 && currentInfo.normalizedTime < 0.6f)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
animator.Play("all", 0, 0.2f);
|
|
||||||
}
|
|
||||||
//慢速骑 修改播放速度
|
|
||||||
|
|
||||||
//拐弯
|
|
||||||
|
|
||||||
//喝水
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
ticks++;
|
|
||||||
timer += 1f;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
using Assets.Scenes.Ride.Scripts;
|
|
||||||
using Assets.Scenes.Ride.Scripts.Model;
|
|
||||||
using Assets.Scripts;
|
|
||||||
using Assets.Scripts.Apis.Models;
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.Networking;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
using UnityEngine.Video;
|
|
||||||
|
|
||||||
public class testDownLoad : MonoBehaviour
|
|
||||||
{
|
|
||||||
UnityWebRequest request = null;
|
|
||||||
|
|
||||||
// Start is called before the first frame update
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
//测试UI
|
|
||||||
var button = transform.GetComponent<Button>();
|
|
||||||
var text = transform.GetComponentInChildren<Text>();
|
|
||||||
var inputFiled = transform.parent.GetComponentInChildren<InputField>();
|
|
||||||
var player = FindObjectOfType<VideoPlayer>();
|
|
||||||
var testPlayer = FindObjectOfType<TestPlayerController>();
|
|
||||||
var url = @"http://192.168.0.97:6031/12067924_720p.mp4";
|
|
||||||
var currentPath = "";
|
|
||||||
inputFiled.onValueChanged.AddListener((s) =>
|
|
||||||
{
|
|
||||||
testPlayer.power = Convert.ToDouble(s);
|
|
||||||
});
|
|
||||||
button.onClick.AddListener(() =>
|
|
||||||
{
|
|
||||||
StartCoroutine(Utils.DownloadVideo("sdsd.mp4", url
|
|
||||||
,(p,req)=> {
|
|
||||||
text.text = Math.Round(p * 100, 2).ToString() + "%";
|
|
||||||
request = req;
|
|
||||||
}
|
|
||||||
,(path)=> {
|
|
||||||
text.text = "100%";
|
|
||||||
currentPath = path;
|
|
||||||
//player.url = path;
|
|
||||||
}
|
|
||||||
));
|
|
||||||
if (!string.IsNullOrEmpty(currentPath))
|
|
||||||
{
|
|
||||||
//player.url = currentPath;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user