기술 자료

Unity Engine

Unity Engine

RemoveMonoBehavioursWithMissingScript(GameObject)

Removes the MonoBehaviours with a missing script from the given GameObject.
읽는 시간 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