ドキュメント

Unity Engine

Unity Engine

RemoveMonoBehavioursWithMissingScript(GameObject)

Removes the MonoBehaviours with a missing script from the given GameObject.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static int RemoveMonoBehavioursWithMissingScript(GameObject go)

Parameters

The GameObject to remove MonoBehaviours with a missing script from.

Returns

Type

Description

intThe number of MonoBehaviours with a missing script that were removed.

Remarks