Fire off impulses on booster taps

This commit is contained in:
Michal Pikulski
2025-11-06 18:57:10 +01:00
parent d01859cec0
commit 1b1ea65744
4 changed files with 102 additions and 9 deletions

View File

@@ -11,6 +11,7 @@ GameObject:
- component: {fileID: 5228380266581535650}
- component: {fileID: 7671014600744692184}
- component: {fileID: 4981820558408988033}
- component: {fileID: 4448843358972162772}
m_Layer: 0
m_Name: BoosterOpeningPage
m_TagString: Untagged
@@ -82,6 +83,60 @@ MonoBehaviour:
cardSpacing: 50
cardRevealDelay: 0.5
boosterDisappearDuration: 0.5
impulseSource: {fileID: 4448843358972162772}
--- !u!114 &4448843358972162772
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 498445838423597154}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 180ecf9b41d478f468eb3e9083753217, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineImpulseSource
ImpulseDefinition:
ImpulseChannel: -1
ImpulseShape: 2
CustomImpulseShape:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
ImpulseDuration: 0.2
ImpulseType: 0
DissipationRate: 0.25
RawSignal: {fileID: 0}
AmplitudeGain: 1
FrequencyGain: 1
RepeatMode: 0
Randomize: 1
TimeEnvelope:
AttackShape:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
DecayShape:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
AttackTime: 0
SustainTime: 0.2
DecayTime: 0.7
ScaleWithImpact: 1
HoldForever: 0
ImpactRadius: 100
DirectionMode: 0
DissipationMode: 2
DissipationDistance: 100
PropagationSpeed: 343
DefaultVelocity: {x: -0.2, y: -1, z: 0}
--- !u!1 &2154569789549533728
GameObject:
m_ObjectHideFlags: 0