delete debug print
This commit is contained in:
parent
f28a56cc9e
commit
fa6e9241ac
@ -24,10 +24,8 @@ void Update()
|
|||||||
|
|
||||||
void OnTriggerEnter2D(Collider2D col)
|
void OnTriggerEnter2D(Collider2D col)
|
||||||
{
|
{
|
||||||
Debug.Log("PIZDAAAAAA");
|
|
||||||
if (col.gameObject.CompareTag("Mob"))
|
if (col.gameObject.CompareTag("Mob"))
|
||||||
{
|
{
|
||||||
Debug.Log("PIZDAAAAAA");
|
|
||||||
col.gameObject.GetComponent<Mob>().SendMessage("ApplyDamage", damage);
|
col.gameObject.GetComponent<Mob>().SendMessage("ApplyDamage", damage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user