Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

ShaderIncludePathAttribute

class in UnityEditor

Obsolete

Description

This attribute is no longer supported.

Shader libraries in arbitrary locations are no longer supported. Your shader files must be located under the Assets folder or in a package. To include shader headers from packages, use the following syntax in the shader code:
#include "Packages/<package name>/<path to your header file>"

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答