WeaverEditorUtilities.

IsResource(string, int) Method

Summary

Returns true if the specified path includes a "Resources" folder, along with the character index at which the resource path starts (the character after the "Resources" folder).
Assembly
Weaver.dll
Namespace
Weaver.Editor
Containing Type
WeaverEditorUtilities

Syntax

public static bool IsResource(string assetPath, out int resourcePathStart)

Parameters

Name Type Description
assetPath string
resourcePathStart int

Return Value

Type Description
bool