Version: 2022.3
言語: 日本語

GameObjectUtility.RemoveMonoBehavioursWithMissingScript

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

パラメーター

go The 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.