Exemplo n.º 1
0
 /// <summary>
 /// When disabled, make sure we clear any invocations and put it in the Projectile Pool's inactive pool.
 /// </summary>
 public void OnDisable()
 {
     CancelInvoke();
     owningPool.SetInactive(this);
 }