Documentation

Unity Engine

Unity Engine

GetDependency(string)

Returns the dependency shader.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Shader GetDependency(string name)

Parameters

name

The name of the dependency to query.

Returns

Type

Description

Shader

Remarks

The shader source file lists dependency shaders in the "DependencyName" = "ShaderName" format.