unity OnLevelWasLoaded 跟Start,Awake方法一样是MonoBehaviour自动调用的方法; OnLevelWasLoaded(int level) 是在加载一个新场景时候调用,参数为加载到的场景索引