Improved BossThugs collider size for killing
This commit is contained in:
parent
178d4291ff
commit
dff01847ec
@ -91,7 +91,7 @@ public class BossThug : MonoBehaviour
|
|||||||
private void ActivateKillingMode()
|
private void ActivateKillingMode()
|
||||||
{
|
{
|
||||||
// set lower radious in order to less attack distance
|
// 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);
|
Debug.Log(gameObject.GetComponent<CircleCollider2D>().radius);
|
||||||
|
|
||||||
gameObject.GetComponent<FollowingEnemy>().enabled=true;
|
gameObject.GetComponent<FollowingEnemy>().enabled=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user