单项选择题

unity中当对象变为不可用或失活状态时()方法被调用。

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