语言English
  • C#

GameObjectUtility.GetMonoBehavioursWithMissingScriptCount

声明

public static int GetMonoBehavioursWithMissingScriptCount(GameObject go);

参数

go 要查询的 GameObject。

返回值

int 缺少脚本的 MonoBehaviour 的数量。

描述

获取给定 GameObject 中缺少脚本的 MonoBehaviour 的数量。


Did you find this page useful? Please give it a rating: