示例#1
0
 /// <summary>
 /// Disable the Enhanced Touch System, disable the Action Maps, and dispose of the control system.
 /// </summary>
 private void OnDisable()
 {
     EnhancedTouchSupport.Disable();
     controls.Play.Disable();
     controls.Touch.Disable();
     controls.Dispose();
 }
示例#2
0
 private void OnDestroy() => input.Dispose();