public Player castRole(PropPanel panel, String playerName, PlayerRecruiter playerRecruiter)
{
Player result;
final Scene scene = panel.getRoot();
final String scenePlayersPath = Context.fs().pathTo(scene.getPath(), "players");
result = castFrom(panel, playerName, playerRecruiter, scenePlayersPath);
if(result == null && scene.getProduction() != null)
{
final String productionPlayersPath = Context.fs().pathTo(scene.getProduction().getPath(), "players");
result = castFrom(panel, playerName, playerRecruiter, productionPlayersPath);
}
if(result == null)
result = castFrom(panel, playerName, builtinPlayerRecruiter, BuiltinBeacon.getBuiltinPlayersPath());