29 lines
750 B
C#
29 lines
750 B
C#
using System;
|
|
using UnityEngine.Scripting.APIUpdating;
|
|
|
|
namespace UnityEngine.Rendering.LWRP
|
|
{
|
|
[Obsolete("LWRP -> Universal (UnityUpgradable) -> UnityEngine.Rendering.Universal.UniversalAdditionalLightData", true)]
|
|
public class LWRPAdditionalLightData
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
namespace UnityEngine.Rendering.Universal
|
|
{
|
|
[DisallowMultipleComponent]
|
|
[RequireComponent(typeof(Light))]
|
|
public class UniversalAdditionalLightData : MonoBehaviour
|
|
{
|
|
[Tooltip("Controls the usage of pipeline settings.")]
|
|
[SerializeField] bool m_UsePipelineSettings = true;
|
|
|
|
public bool usePipelineSettings
|
|
{
|
|
get { return m_UsePipelineSettings; }
|
|
set { m_UsePipelineSettings = value; }
|
|
}
|
|
}
|
|
}
|