Exemple #1
0
 public static void RegisterAttractor(AIAttractor attr)
 {
     if (AIAttractorsManager.s_Attractors != null)
     {
         AIAttractorsManager.s_Attractors.Add(attr);
     }
 }
Exemple #2
0
 public static void UnregisterAttractor(AIAttractor attr)
 {
     if (AIAttractorsManager.s_Attractors != null)
     {
         AIAttractorsManager.s_Attractors.Remove(attr);
     }
 }
Exemple #3
0
 public void SetAttractor(AIAttractor attr)
 {
     this.m_Attractor            = attr;
     this.m_Attractor.m_Occupied = true;
 }