Improved BossThugs collider size for killing

This commit is contained in:
Alicja 2023-01-17 12:30:53 +01:00
parent 178d4291ff
commit dff01847ec

View File

@ -91,7 +91,7 @@ public class BossThug : MonoBehaviour
private void ActivateKillingMode()
{
// set lower radious in order to less attack distance
gameObject.GetComponent<CircleCollider2D>().radius = 1f;
gameObject.GetComponent<CircleCollider2D>().radius = 0.4f;
Debug.Log(gameObject.GetComponent<CircleCollider2D>().radius);
gameObject.GetComponent<FollowingEnemy>().enabled=true;