Version: 2019.4

GameObjectUtility.RemoveMonoBehavioursWithMissingScript

マニュアルに切り替える
public static int RemoveMonoBehavioursWithMissingScript (GameObject go);

パラメーター

goThe GameObject to remove MonoBehaviours with a missing script from.

戻り値

int The number of MonoBehaviours with a missing script that were removed.

説明

Removes the MonoBehaviours with a missing script from the given GameObject.