GameObjectUtility.RemoveMonoBehavioursWithMissingScript

Cambiar al Manual
public static int RemoveMonoBehavioursWithMissingScript (GameObject go);

Parámetros

goThe GameObject to remove MonoBehaviours with a missing script from.

Valor de retorno

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

Descripción

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