AwaitSpaceBeginLoadingByTag (Unity)
public static void AwaitSpaceBeginLoadingByTag(string tag, Action<string> onBeginLoading)
- Description
Triggers when you begin attempting to join a space by Tag, returning the ID of the space being joined.
Â
For more information on Tags, visit Mutli-Space Connections Using Tags
- Sample
using CavrnusSdk.API;
using UnityEngine;
public class TestScript: MonoBehaviour
{
void Start()
{
CavrnusFunctionLibrary.AwaitSpaceBeginLoadingByTag("A", spaceId => {
print("Space A is now loading!");
});
}
}