File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -342,14 +342,8 @@ public InputActionAsset actions
342342 UninitializeActions ( ) ;
343343 }
344344
345- var didChange = m_Actions != null ;
346-
347345 m_Actions = value ;
348346
349- if ( didChange || m_Enabled )
350- // copy action asset for the first player so that the original asset stays untouched
351- CopyActionAssetAndApplyBindingOverrides ( ) ;
352-
353347 if ( m_Enabled )
354348 {
355349 ClearCaches ( ) ;
@@ -1810,13 +1804,6 @@ void Reset()
18101804
18111805 #endif
18121806
1813- private void Awake ( )
1814- {
1815- // If an action asset is assigned copy it to avoid modifying the original asset.
1816- if ( m_Actions != null )
1817- CopyActionAssetAndApplyBindingOverrides ( ) ;
1818- }
1819-
18201807 private void OnEnable ( )
18211808 {
18221809 m_Enabled = true ;
You can’t perform that action at this time.
0 commit comments