File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -308,11 +308,6 @@ private InputActionAsset GetEditedAsset()
308308
309309 private void Save ( bool isAutoSave )
310310 {
311- if ( isAutoSave )
312- {
313- Debug . LogError ( "Auto-saving input action asset." ) ;
314- }
315-
316311 var path = AssetDatabase . GUIDToAssetPath ( m_AssetGUID ) ;
317312 #if UNITY_INPUT_SYSTEM_PROJECT_WIDE_ACTIONS
318313 var projectWideActions = InputSystem . actions ;
@@ -467,9 +462,7 @@ private bool TryUpdateFromAsset()
467462 var asset = AssetDatabase . LoadAssetAtPath < InputActionAsset > ( assetPath ) ;
468463 workingCopy = InputActionAssetManager . CreateWorkingCopy ( asset ) ;
469464 m_AssetJson = InputActionsEditorWindowUtils . ToJsonWithoutName ( asset ) ;
470-
471465 m_State = new InputActionsEditorState ( m_State , new SerializedObject ( workingCopy ) ) ;
472- //TODO THIS CAUSES THE ERROR
473466 m_IsDirty = false ;
474467 }
475468 catch ( Exception e )
Original file line number Diff line number Diff line change @@ -118,8 +118,6 @@ public override void RedrawUI(InputControlScheme viewState)
118118
119119 public override void DestroyView ( )
120120 {
121- Debug . LogError ( "Destroying view! " ) ;
122-
123121 m_ModalWindow . RemoveFromHierarchy ( ) ;
124122 }
125123
@@ -147,7 +145,6 @@ private void CloseView()
147145 // the changes retained. However, if a different ControlScheme is selected or the Asset
148146 // Editor window is closed, then the changes are lost.
149147
150- Debug . LogError ( "Closing the control scheme view here" ) ;
151148 m_NewName = string . Empty ;
152149 OnClosing ? . Invoke ( this ) ;
153150 }
You can’t perform that action at this time.
0 commit comments