How did Zac Efron get on the television show?

Vannesa Hudgens had a crush on Zac Efron so she told some people then the director of high school musical saw him and got him on it and now Zac Efron is famous and get on TV shows