單項選擇題

使用unity3D引擎開發(fā)游戲過程中,當MonoBehaviour銷毀時要調用的函數是()。

A.OnDisable
B.OnDestroy
C.OnEnable
D.OnAnimatorMove

微信掃碼免費搜題