暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InputControlPickerState.cs 815B

123456789101112131415161718192021222324252627
  1. #if UNITY_EDITOR || PACKAGE_DOCS_GENERATION
  2. using System;
  3. namespace UnityEngine.InputSystem.Editor
  4. {
  5. /// <summary>
  6. /// Persistent state for <see cref="InputControlPathEditor"/>.
  7. /// </summary>
  8. /// <remarks>
  9. /// This class encapsulates the viewing state for an input control picker.
  10. /// </remarks>
  11. [Serializable]
  12. public class InputControlPickerState
  13. {
  14. internal AdvancedDropdownState advancedDropdownState => m_AdvancedDropdownState;
  15. internal bool manualPathEditMode
  16. {
  17. get => m_ManualPathEditMode;
  18. set => m_ManualPathEditMode = value;
  19. }
  20. [SerializeField] private AdvancedDropdownState m_AdvancedDropdownState = new AdvancedDropdownState();
  21. [SerializeField] private bool m_ManualPathEditMode;
  22. }
  23. }
  24. #endif