Unity Engine documentationScript ReferenceUnityEngineUnityEngine.RenderingShadowDrawingSettingslightIndexThe index of the shadow-casting light to be rendered.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.Rendering Assembly: UnityEngine.CoreModule public int lightIndex { get; set; }