Fixed the key mapping for swap and vector wall

dev-hazim
Hazim 3 weeks ago
parent ba09155601
commit bcc3c0b7dd

@ -16463,7 +16463,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_text: Q m_text: W
m_isRightToLeft: 0 m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: f50a897396f820e4a85fdbfa9ec1251b, type: 2} m_fontAsset: {fileID: 11400000, guid: f50a897396f820e4a85fdbfa9ec1251b, type: 2}
m_sharedMaterial: {fileID: 924789733308139946, guid: f50a897396f820e4a85fdbfa9ec1251b, type: 2} m_sharedMaterial: {fileID: 924789733308139946, guid: f50a897396f820e4a85fdbfa9ec1251b, type: 2}
@ -19338,11 +19338,11 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: 0.28987607 value: 0.28987613
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: -0.18152031 value: -0.1815204
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734516302391364, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734516302391364, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_UpdateMethod propertyPath: m_UpdateMethod
@ -19394,7 +19394,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 0.80276686 value: 0.8027669
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
@ -19402,11 +19402,11 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: 0.2921833 value: 0.29218328
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: -0.17778286 value: -0.17778282
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1676734516866984540, guid: 0193228de87741d40a42e561901c9083, type: 3} - target: {fileID: 1676734516866984540, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_VerticalDamping propertyPath: m_VerticalDamping
@ -19563,10 +19563,11 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
virtualCamera: {fileID: 1060857732} virtualCamera: {fileID: 1060857732}
edgeThreshold: 50 edgeThreshold: 50
resetRadiusPercentage: 30
panSpeed: 10 panSpeed: 10
resetSpeed: 7 maxPanDistance: 30
panLimit: {x: 7, y: 7} returnDelay: 0.5
smoothTime: 0.1
returnMaxSpeed: 15
freeRoamSpeed: 10 freeRoamSpeed: 10
--- !u!114 &1060857737 --- !u!114 &1060857737
MonoBehaviour: MonoBehaviour:

@ -586,7 +586,7 @@ namespace Unity.BossRoom.Gameplay.UserInput
} }
ActivateAbilityIfAllowed(GameDataSource.Instance.FreezeThrowAbilityKey); ActivateAbilityIfAllowed(GameDataSource.Instance.FreezeThrowAbilityKey);
} }
if (Input.GetKeyDown(KeyCode.Q)) // Vector Wall if (Input.GetKeyDown(KeyCode.W)) // Vector Wall
{ {
ActivateAbilityIfAllowed(GameDataSource.Instance.VectorFenceAbilityKey); ActivateAbilityIfAllowed(GameDataSource.Instance.VectorFenceAbilityKey);
} }

Loading…
Cancel
Save