Skip to content

Commit

Permalink
Removed legacy input in samples where it was conflicting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzaranek committed Jan 15, 2025
1 parent 6ca2368 commit 4d277f0
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 36 deletions.
18 changes: 15 additions & 3 deletions com.unity.cinemachine/Samples~/3D Samples/SplitScreenCar.unity
Original file line number Diff line number Diff line change
Expand Up @@ -498,23 +498,23 @@ PrefabInstance:
objectReference: {fileID: -5630151704836100654, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[0].Input.LegacyInput
value: Mouse X
value:
objectReference: {fileID: 0}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[1].Input.InputAction
value:
objectReference: {fileID: 1120369429361536294, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[1].Input.LegacyInput
value: Fire1
value:
objectReference: {fileID: 0}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[2].Input.InputAction
value:
objectReference: {fileID: -1608118824973676762, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[2].Input.LegacyInput
value: Fire2
value:
objectReference: {fileID: 0}
- target: {fileID: 1570214454041857243, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_Materials.Array.data[0]
Expand Down Expand Up @@ -981,10 +981,22 @@ PrefabInstance:
propertyPath: m_Name
value: RedCar
objectReference: {fileID: 0}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[0].Input.LegacyInput
value:
objectReference: {fileID: 0}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[1].Input.LegacyInput
value:
objectReference: {fileID: 0}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[2].Input.InputAction
value:
objectReference: {fileID: 6539296782897260151, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 878341184440332471, guid: 1ae780fa68e1a2d4fbf8ccd042067f66, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[2].Input.LegacyInput
value:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2592,7 +2592,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[4].Input.LegacyGain
value: 50
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Driver.AccelTime
Expand All @@ -2604,51 +2604,51 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Input.LegacyGain
value: -50
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[6].Input.LegacyGain
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[0].Input.LegacyInput
value: Horizontal
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[1].Input.LegacyInput
value: Vertical
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[2].Input.LegacyInput
value: Jump
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[3].Input.LegacyInput
value: Fire3
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[4].Input.InputAction
value:
objectReference: {fileID: -5630151704836100654, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[4].Input.LegacyInput
value: Mouse X
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Input.InputAction
value:
objectReference: {fileID: -5630151704836100654, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Input.LegacyInput
value: Mouse Y
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[6].Input.InputAction
value:
objectReference: {fileID: 1120369429361536294, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[6].Input.LegacyInput
value: Fire1
value:
objectReference: {fileID: 0}
- target: {fileID: 8077383552022060413, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: Strafe
Expand Down Expand Up @@ -3078,7 +3078,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -1608118824973676762, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Fire2
LegacyInput:
LegacyGain: 1
CancelDeltaTime: 0
InputValue: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2396,6 +2396,18 @@ PrefabInstance:
propertyPath: m_ControllerManager.Controllers.Array.data[6].Name
value: Fire
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[4].Owner
value:
objectReference: {fileID: 1525634693}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Owner
value:
objectReference: {fileID: 1525634693}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[6].Owner
value:
objectReference: {fileID: 1525634694}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[0].Enabled
value: 1
Expand Down Expand Up @@ -2478,7 +2490,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[4].Input.LegacyGain
value: 50
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Driver.AccelTime
Expand All @@ -2490,51 +2502,51 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Input.LegacyGain
value: -50
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[6].Input.LegacyGain
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[0].Input.LegacyInput
value: Horizontal
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[1].Input.LegacyInput
value: Vertical
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[2].Input.LegacyInput
value: Jump
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[3].Input.LegacyInput
value: Fire3
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[4].Input.InputAction
value:
objectReference: {fileID: -1608118824973676762, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
objectReference: {fileID: -5630151704836100654, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[4].Input.LegacyInput
value: Mouse X
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Input.InputAction
value:
objectReference: {fileID: -1608118824973676762, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
objectReference: {fileID: -5630151704836100654, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[5].Input.LegacyInput
value: Mouse Y
value:
objectReference: {fileID: 0}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[6].Input.InputAction
value:
objectReference: {fileID: -1608118824973676762, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
objectReference: {fileID: 1120369429361536294, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
- target: {fileID: 7804758404662293724, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: m_ControllerManager.Controllers.Array.data[6].Input.LegacyInput
value: Fire1
value:
objectReference: {fileID: 0}
- target: {fileID: 8077383552022060413, guid: 4d8d7a9a98d3f4ac2967d48094ea010f, type: 3}
propertyPath: Strafe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -1680190386980627800, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Horizontal
LegacyInput:
LegacyGain: 1
InputValue: 0
Driver:
Expand All @@ -172,7 +172,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -1680190386980627800, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Vertical
LegacyInput:
LegacyGain: 1
InputValue: 0
Driver:
Expand All @@ -184,7 +184,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: 6539296782897260151, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Fire1
LegacyInput:
LegacyGain: 1
InputValue: 0
Driver:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -1680190386980627800, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Horizontal
LegacyInput:
LegacyGain: 1
InputValue: 0
Driver:
Expand All @@ -160,7 +160,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -1680190386980627800, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Vertical
LegacyInput:
LegacyGain: 1
InputValue: 0
Driver:
Expand All @@ -172,7 +172,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: 6539296782897260151, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Jump
LegacyInput:
LegacyGain: 1
InputValue: 0
Driver:
Expand All @@ -184,7 +184,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -3285510275856705445, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Fire3
LegacyInput:
LegacyGain: 1
InputValue: 0
Driver:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -1680190386980627800, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Horizontal
LegacyInput:
LegacyGain: 1
CancelDeltaTime: 0
InputValue: 0
Expand All @@ -209,7 +209,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -1680190386980627800, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Vertical
LegacyInput:
LegacyGain: 1
CancelDeltaTime: 0
InputValue: 0
Expand All @@ -222,7 +222,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: 6539296782897260151, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Jump
LegacyInput:
LegacyGain: 1
CancelDeltaTime: 0
InputValue: 0
Expand All @@ -235,7 +235,7 @@ MonoBehaviour:
Input:
InputAction: {fileID: -3285510275856705445, guid: 1d6e640e716dc4ff6989b73d02023f2b, type: 3}
Gain: 1
LegacyInput: Fire3
LegacyInput:
LegacyGain: 1
CancelDeltaTime: 0
InputValue: 0
Expand Down

0 comments on commit 4d277f0

Please sign in to comment.