您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
696 B
22 行
696 B
using UnityEngine.Experimental.Rendering.HDPipeline;
|
|
|
|
namespace UnityEditor.Experimental.Rendering
|
|
{
|
|
class SerializedGlobalDecalSettings
|
|
{
|
|
public SerializedProperty root;
|
|
|
|
public SerializedProperty drawDistance;
|
|
public SerializedProperty atlasWidth;
|
|
public SerializedProperty atlasHeight;
|
|
|
|
public SerializedGlobalDecalSettings(SerializedProperty root)
|
|
{
|
|
this.root = root;
|
|
|
|
drawDistance = root.Find((GlobalDecalSettings s) => s.drawDistance);
|
|
atlasWidth = root.Find((GlobalDecalSettings s) => s.atlasWidth);
|
|
atlasHeight = root.Find((GlobalDecalSettings s) => s.atlasHeight);
|
|
}
|
|
}
|
|
}
|