浏览代码

Changed version from float to int for AdditionalShadowData

/main
Antoine Lelievre 6 年前
当前提交
edbeee31
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 7
      com.unity.render-pipelines.core/CoreRP/Shadow/AdditionalShadowData.cs

7
com.unity.render-pipelines.core/CoreRP/Shadow/AdditionalShadowData.cs


[RequireComponent(typeof(Light))]
public class AdditionalShadowData : MonoBehaviour
{
[HideInInspector]
public float version = 1.0f;
[SerializeField]
// Currently m_Version is not used and produce a warning, remove these pragmas at the next version incrementation
#pragma warning disable 414
private int m_Version = 1;
#pragma warning restore 414
public const int DefaultShadowResolution = 512;

正在加载...
取消
保存