Scripting API

Scripting API

AssetSetup

Record in Abyss.Core, from Abyss.Core.

Where a world's assets are read from.

public record AssetSetup

Constructors

AssetSetup

public AssetSetup(string? Root = null)

Where a world's assets are read from.

Parameters

  • Root: The directory every loaded path is resolved against, or null for Bevy's own default of assets beside the executable. It is the only boundary between a path and the disk, so a host that lets a person or a script name files should set it to the project it means.

Properties

Root

public string? Root { get; init; }

The directory every loaded path is resolved against, or null for Bevy's own default of assets beside the executable. It is the only boundary between a path and the disk, so a host that lets a person or a script name files should set it to the project it means.