AI_Sensor

This script checks and saves tagged object collided with this one. It allows getting tag of triggeredObject

Script should be attached to object with Rigidbody and Collider (IsTrigger = true) attached

  • triggeredObject - Object collided with this oneĀ