UnityGame/Library/PackageCache/com.unity.ai.navigation/Samples~/Scripts/ProjectSettingsUtilities/Editor/NavigationSampleSettingsState.cs
2024-10-27 10:53:47 +03: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;
}
}
}