so, lets say i make an object named "creature" that has an empty object inside it but with a sphere collider attached that function as a radar...
i attach 2 scripts, one on parent and another on child:
creature.js (parent)
var target;
radar.js (child)
if enemy collides with collider
parent.target = enemy <- here, how do i point to his parent script?
thanks!