GetMonoBehavioursWithMissingScriptCount(GameObject)
Gets the number of MonoBehaviours with a missing script for the given GameObject.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetMonoBehavioursWithMissingScriptCount(GameObject go)
Parameters
GameObject to query.
Returns
Type | Description |
|---|---|
| int | The number of MonoBehaviours with a missing script. |
Remarks
Additional Resources: GameObjectUtility.RemoveMonoBehavioursWithMissingScript.