Just cast it,
ARoomExit *Exit = Cast<ARoomExit>(Attached);
Assuming you are attaching nothing other than exits, if there are other things attached (or might be later…) then be sure to check Exit before using it.
Just cast it,
ARoomExit *Exit = Cast<ARoomExit>(Attached);
Assuming you are attaching nothing other than exits, if there are other things attached (or might be later…) then be sure to check Exit before using it.