UniversalAdditionalLightData.cs 750 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using UnityEngine.Scripting.APIUpdating;
  3. namespace UnityEngine.Rendering.LWRP
  4. {
  5. [Obsolete("LWRP -> Universal (UnityUpgradable) -> UnityEngine.Rendering.Universal.UniversalAdditionalLightData", true)]
  6. public class LWRPAdditionalLightData
  7. {
  8. }
  9. }
  10. namespace UnityEngine.Rendering.Universal
  11. {
  12. [DisallowMultipleComponent]
  13. [RequireComponent(typeof(Light))]
  14. public class UniversalAdditionalLightData : MonoBehaviour
  15. {
  16. [Tooltip("Controls the usage of pipeline settings.")]
  17. [SerializeField] bool m_UsePipelineSettings = true;
  18. public bool usePipelineSettings
  19. {
  20. get { return m_UsePipelineSettings; }
  21. set { m_UsePipelineSettings = value; }
  22. }
  23. }
  24. }