单项选择题

下面哪个方法可以使对象在切换到新场景时,对象不会被销毁()

A.GetInstanceID
B.DontDestroyOnLoad
C.Instantiate
D.ToString