Exemplo n.º 1
0
 private void OnDestroy()
 {
     PathFindingAgentBehaviour.ClearAgentPool();
     if (s_AstarAgent != null)
     {
         s_AstarAgent.Clear();
     }
     _pfm.OnDestroy();
 }