神岛 API 文档 - ArenaPro版
    Preparing search index...

    Variable resourcesConst

    resources: {
        ls: (
            path?: "snow" | "mesh" | "picture" | "audio" | "lut",
        ) => GameAssetListEntry[];
    }

    GameAssetListEntry 是控制游戏中的资产对象,用于获取游戏内模型、图片、音频等资源。

    Type declaration

    • ls: (path?: "snow" | "mesh" | "picture" | "audio" | "lut") => GameAssetListEntry[]

      列出指定类型的游戏资源。