暫無描述
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.

NavigationSampleSettingsState.cs 687B

1234567891011121314151617181920
  1. using UnityEngine;
  2. namespace Unity.AI.Navigation.Samples.Editor
  3. {
  4. /// <summary>
  5. /// This ScriptableObject is used by the NavigationSampleProjectSettingsGenerator to check whether the generation of agent types for the samples has already been done.
  6. /// It is in no way necessary for using the Navigation package and is only used for the correct functioning of the samples.
  7. /// </summary>
  8. public class NavigationSampleSettingsState : ScriptableObject
  9. {
  10. [SerializeField]
  11. bool hasGeneratedSettings;
  12. public bool generated
  13. {
  14. get => hasGeneratedSettings;
  15. set => hasGeneratedSettings = value;
  16. }
  17. }
  18. }