File tree Expand file tree Collapse file tree 5 files changed +2
-12
lines changed
Packages/com.unity.inputsystem Expand file tree Collapse file tree 5 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -187,13 +187,10 @@ internal unsafe interface IInputRuntime
187
187
void SendAnalytic ( InputAnalytics . IInputAnalytic analytic ) ;
188
188
#endif // UNITY_ANALYTICS || UNITY_EDITOR
189
189
190
- bool isInBatchMode { get ; }
191
-
192
190
#if UNITY_EDITOR
193
191
Action < PlayModeStateChange > onPlayModeChanged { get ; set ; }
194
192
Action onProjectChange { get ; set ; }
195
193
bool isInPlayMode { get ; }
196
- bool isPaused { get ; }
197
194
bool isEditorActive { get ; }
198
195
199
196
// Functionality related to the Unity Remote.
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ public bool runPlayerUpdatesInEditMode
362
362
363
363
private bool gameIsPlaying =>
364
364
#if UNITY_EDITOR
365
- ( m_Runtime . isInPlayMode && ! m_Runtime . isPaused ) || m_RunPlayerUpdatesInEditMode ;
365
+ ( m_Runtime . isInPlayMode && ! UnityEditor . EditorApplication . isPaused ) || m_RunPlayerUpdatesInEditMode ;
366
366
#else
367
367
true ;
368
368
#endif
Original file line number Diff line number Diff line change @@ -3611,7 +3611,7 @@ private static void ShowRestartWarning()
3611
3611
{
3612
3612
if ( ! s_SystemObject . newInputBackendsCheckedAsEnabled &&
3613
3613
! EditorPlayerSettingHelpers . newSystemBackendsEnabled &&
3614
- ! s_Manager . m_Runtime . isInBatchMode )
3614
+ ! Application . isBatchMode )
3615
3615
{
3616
3616
const string dialogText = "This project is using the new input system package but the native platform backends for the new input system are not enabled in the player settings. " +
3617
3617
"This means that no input from native devices will come through." +
Original file line number Diff line number Diff line change @@ -293,13 +293,9 @@ public float scrollWheelDeltaPerTick
293
293
get => NativeInputSystem . GetScrollWheelDeltaPerTick ( ) ;
294
294
}
295
295
#endif
296
-
297
- public bool isInBatchMode => Application . isBatchMode ;
298
-
299
296
#if UNITY_EDITOR
300
297
301
298
public bool isInPlayMode => EditorApplication . isPlaying ;
302
- public bool isPaused => EditorApplication . isPaused ;
303
299
public bool isEditorActive => InternalEditorUtility . isApplicationActive ;
304
300
305
301
public Func < IntPtr , bool > onUnityRemoteMessage
Original file line number Diff line number Diff line change @@ -402,11 +402,8 @@ public double currentTimeOffsetToRealtimeSinceStartup
402
402
}
403
403
}
404
404
405
- public bool isInBatchMode { get ; set ; }
406
-
407
405
#if UNITY_EDITOR
408
406
public bool isInPlayMode { get ; set ; } = true ;
409
- public bool isPaused { get ; set ; }
410
407
public bool isEditorActive { get ; set ; } = true ;
411
408
public Func < IntPtr , bool > onUnityRemoteMessage
412
409
{
You can’t perform that action at this time.
0 commit comments