Beispiel #1
0
 protected override void OnActivated()
 {
     Physics2D.IgnoreCollision(unitCollider, shieldCollider);
     shield.gameObject.SetActive(true);
     if (unitNavAgent != null)
     {
         unitNavAgent.SetShieldHolder(true);
     }
 }