Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Determines whether a source path is a sample directory or is contained by one.

API: engine
Project: Inno.Assets.Pipeline

public static bool Inno.Assets.Pipeline.AssetSample.Contains(Inno.Assets.AssetPath path, bool isDirectory)

Parameter path: The isolated source path to inspect.

Parameter isDirectory: Whether the path itself represents a directory.

true when the path belongs to an installed Plugin source and any directory segment starts with ~. Project content is never hidden from authoring import by this method.