Class Leap::Unity::AssetFolder

class Leap.Unity.AssetFolder

A convenient serializable representation of an asset folder. Only useful for editor scripts since asset folder structure is not preserved for builds. The asset folder struct itself is still available at runtime for serialization ease, but the Path property will not be available.

Subclassed by Leap.Unity.StreamingFolder


string Path { get; set; }

Gets or sets the folder path. This path will always be a path relative to the asset folder, and matches the format expected and returned by AssetDatabase. This operation cannot be performed from inside of a build due to Assets no longer existing.