2025-05-18 01:04:31 +08:00

20 lines
687 B
C#

using UnityEngine;
namespace Unity.AI.Navigation.Samples.Editor
{
/// <summary>
/// This ScriptableObject is used by the NavigationSampleProjectSettingsGenerator to check whether the generation of agent types for the samples has already been done.
/// It is in no way necessary for using the Navigation package and is only used for the correct functioning of the samples.
/// </summary>
public class NavigationSampleSettingsState : ScriptableObject
{
[SerializeField]
bool hasGeneratedSettings;
public bool generated
{
get => hasGeneratedSettings;
set => hasGeneratedSettings = value;
}
}
}