Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SearchType

Describe how to use the path in ResourcePathsBaseAttribute.
Read time 1 minuteLast updated 4 days ago

Definition

public enum SearchType

Remarks

What is the loading method to use? It may vary regarding the resource location. There is also an extra way to find shader by their internal name.

Fields

Value

Description

BuiltinExtraPathUsed to search in the builtin extra resources provided with the editor.
BuiltinPathUsed to search in the builtin resources provided with the editor.
ProjectPathUsed for resources inside the project (e.g.: in user project or in packages).
ShaderNameUsed for shader that should be found by their name.