massive number of fixes, removed compilation error, logs, negative scale issues, serialization issues ETC
This commit is contained in:
@@ -31,7 +31,7 @@ public class CollisionEventTrigger : MonoBehaviour
|
||||
|
||||
if (useTagFilter && collision.gameObject.tag != targetTag)
|
||||
{
|
||||
Debug.Log("Collision with object with different tag.");
|
||||
//Debug.Log("Collision with object with different tag.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public class CollisionEventTrigger : MonoBehaviour
|
||||
// Check if the event is assigned (not null)
|
||||
if (OnCollisionEnterEvent != null)
|
||||
{
|
||||
Debug.Log("Event is being invoked.");
|
||||
//Debug.Log("Event is being invoked.");
|
||||
// Invoke the event
|
||||
OnCollisionEnterEvent.Invoke();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user