Base class message change
This commit is contained in:
parent
e6fa4a6a2c
commit
d121f12dda
|
@ -19,13 +19,13 @@ public class CommonCollectibles : MonoBehaviour
|
||||||
|
|
||||||
void OnCollisionEnter(Collision collision)
|
void OnCollisionEnter(Collision collision)
|
||||||
{
|
{
|
||||||
Debug.Log("your colliding into me mf");
|
Debug.Log("your colliding into me");
|
||||||
Collect(collision.gameObject);
|
Collect(collision.gameObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnTriggerEnter(Collider other)
|
void OnTriggerEnter(Collider other)
|
||||||
{
|
{
|
||||||
Debug.Log("fuk off trigga");
|
Debug.Log(" this is a trigger");
|
||||||
Collect(other.gameObject);
|
Collect(other.gameObject);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue