12 lines
245 B
C#
12 lines
245 B
C#
using UnityEngine;
|
|
|
|
namespace Code.DebugAndTest
|
|
{
|
|
public class TriggerTest : MonoBehaviour
|
|
{
|
|
private void OnTriggerEnter(Collider other)
|
|
{
|
|
Debug.Log(gameObject.name + " found " + other.name);
|
|
}
|
|
}
|
|
} |