Height is only important for training times, i.e. taller players learn inside skills faster and shorter players learn outside skills faster. All other player abilities are directly affected by their skill. So, to use your example of dunking ability, Inside Shot would be the closest thing to it.