OnDestroy

OnDestroy()

public void OnDestroy() ;

説明

この関数はMonoBehaviourが破棄されるときに呼び出される。