remove commented funtion

added platformCheck in in GameCore