Esempio n. 1
0
 private void OnDestroy()
 {
     PathFindingAgentBehaviour.ClearAgentPool();
     if (s_AstarAgent != null)
     {
         s_AstarAgent.Clear();
     }
     _pfm.OnDestroy();
 }
 public static void OnDestroy()
 {
     s_groupPool.Clear();
 }