File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Packages/com.unity.inputsystem/InputSystem/Plugins/XR Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -413,6 +413,13 @@ protected void Reset()
413
413
m_TrackingStateInput = new InputActionProperty ( new InputAction ( "Tracking State" , expectedControlType : "Integer" ) ) ;
414
414
}
415
415
416
+ /// <summary>
417
+ /// This function is called when the script instance is being loaded.
418
+ /// </summary>
419
+ protected virtual void Awake ( )
420
+ {
421
+ }
422
+
416
423
/// <summary>
417
424
/// This function is called when the object becomes enabled and active.
418
425
/// </summary>
@@ -437,6 +444,13 @@ protected void OnDisable()
437
444
InputSystem . onDeviceChange -= OnDeviceChanged ;
438
445
}
439
446
447
+ /// <summary>
448
+ /// This function is called when the <see cref="MonoBehaviour"/> will be destroyed.
449
+ /// </summary>
450
+ protected virtual void OnDestroy ( )
451
+ {
452
+ }
453
+
440
454
/// <summary>
441
455
/// The callback method called after the Input System has completed an update and processed all pending events.
442
456
/// </summary>
You can’t perform that action at this time.
0 commit comments