Hide
AddressableScene

A picker to select an addressable scene into a string field.

Parameters:

  • string group = null: the Addressable group name. null for all groups

  • params string[] orLabels: the addressable label names to filter. Only entries with this label will be shown. null for no filter.

    If it requires multiple labels, use A && B, then only entries with both labels will be shown.

    If it requires any of the labels, just pass them separately, then entries with either label will be shown. For example, pass "A && B", "C" will show entries with both A and B label, or with C label.

[AddressableScene] public string sceneKey; // only use scenes from `Scenes` group // with label `Battle`, or `Profile` [AddressableScene("Scenes", "Battle", "Profile")] public string sceneKeySep;