Boat Attack使用了Universal RP的许多新图形功能,可以用于探索 Universal RP 的使用方式和技巧。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

33 行
667 B

using System;
using UnityEngine;
namespace UnityEditor.ShaderGraph.Internal
{
[Serializable]
public struct OutputMetadata
{
[SerializeField]
int m_Index;
[SerializeField]
string m_ReferenceName;
[SerializeField]
int m_Id;
internal OutputMetadata(int index, string referenceName,int id)
{
m_Index = index;
m_ReferenceName = referenceName;
m_Id = id;
}
public int index => m_Index;
public int id => m_Id;
public string referenceName => m_ReferenceName;
internal bool isValid => referenceName != null;
}
}