Thanks for that. Then I will have to implement a little workaround.
What I am trying to do is: Lets say I have 10 chapters with 10 levels each. Every level has its own layout. The names of the layouts are "LevelXY" with X - chapter and Y - level (inside the chapter). On my generic "LevelSelect" layout are 10 buttons. If I am in chapter 3 and press button 4 it starts:
"Level"&Chapter&Level
But... some levels have special "Intro"-layouts prior to the level. They are named like "Level01_Intro". But only some. I wanted to do:
if (Intro exists)
{
StartIntro()
}
else
{
StartLevel()
}