Custom Sub Settings
Agents Navigation settings can be extended with additional sub settings.
To add custom sub settings you need write class that implements interface MySubSettings and it will automatically be included in all instance of Agents Navigation Settings assets.
Here is simple sample where new sub settings declared as MySubSettings that contain single value and later on can be accessed via AgentsNavigationSettings class.
[Serializable]
class MySubSettings : ISubSettings
{
public int Value = 1;
}
...
int myValue = AgentsNavigationSettings.Get<MySubSettings>().Value;