Hello, Is this possible ? I mean, I got a collider only object and i want to get it’s name when a object interacts with it.
var IDBox : GameObject;
var name : String;
function ObjectNameController () {
if(IDBox.collider){
name = IDBox.collider.gameObject.name.ToString();
}
}