public void Interfare(LaserBullet bullet) { Debug.Log("Wall[Cloth]: penetration from laser bullet"); // Decrease speed bullet.ApplyForce(-bullet.Transform.forward * _slowdownSpeed); }
public void Interfare(LaserBullet bullet) { Debug.Log("Wall[Simple]: collistion from laser bullet"); // Destroy bullet Destroy(bullet.gameObject); }