UnityEditor.ShaderForgeInspector.GetPropertyType C# (CSharp) Method

GetPropertyType() private static method

private static GetPropertyType ( Shader s, int index ) : string
s UnityEngine.Shader
index int
return string
		private static string GetPropertyType( Shader s, int index ) {
			ShaderUtil.ShaderPropertyType propertyType = ShaderUtil.GetPropertyType( s, index );
			if( propertyType == ShaderUtil.ShaderPropertyType.TexEnv ) {
				return ShaderForgeInspector.kTextureTypes[(int)ShaderUtil.GetTexDim( s, index )];
			}
			return ShaderForgeInspector.kPropertyTypes[(int)propertyType];
		}