Version: 5.6

EditorGUIUtility.IsDisplayReferencedByCameras

切换到手册
public static bool IsDisplayReferencedByCameras (int displayIndex);

参数

displayIndex 显示屏索引。

返回

bool 如果摄像机将渲染到显示屏,则为 true。

描述

检查是否有任何已启用的摄像机可以渲染到特定显示屏。