#sulphur problem

1 messages · Page 1 of 1 (latest)

median halo
#

yep

#

idk what im doing wrong

near horizon
median halo
#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Destroy : MonoBehaviour
{

private void OnCollisionEnter2D(Collision2D collision)
{
    if (collision.collider.CompareTag("Destroy This"))
    {
        Debug.Log("lelelele");
        Destroy(collision.gameObject);
    }
}

}

thorny gorge
median halo
#

so why is it important

near horizon
#

dont ask, do

thorny gorge
median halo
#

ok

#

i'll do it

thorny gorge
#

just do it no need to tell us

#

ffs

median halo
#

i did it

#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CollisionMessage : MonoBehaviour
{
// Start is called before the first frame update
void OnCollisionEnter2D(Collision2D data)
{
Debug.Log("lelelelel");
}
}

thorny gorge
#

and you removed the tag check?