Remove stray 'readonly'
‘readonly’ doesn’t play well with serialisation, remove it.
This commit is contained in:
Родитель
02ec5be8bc
Коммит
984e5700cc
|
@ -21,7 +21,7 @@ namespace UnityEngine.AI
|
|||
// List of agent types the modifier is applied for.
|
||||
// Special values: empty == None, m_AffectedAgents[0] =-1 == All.
|
||||
[SerializeField]
|
||||
readonly List<int> m_AffectedAgents = new List<int> (new int[] { -1 }); // Default value is All
|
||||
List<int> m_AffectedAgents = new List<int> (new int[] { -1 }); // Default value is All
|
||||
|
||||
static readonly List<NavMeshModifierVolume> s_NavMeshModifiers = new List<NavMeshModifierVolume> ();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче