Skip to main content

TryAcquireProjectInfo

Description

Get current ARExperience project info. For example you want to use for restful api.

Return

TypeDescription
StringCurrent XR-Experience project unique Id

Method

public string TryAcquireProjectInfo()

Example

internal static API ARMODAPI = new API(nameof(APITest));
private void OnLoad(){
var tmp_CurrentProjectUid = ARMODAPI.TryAcquireProjectInfo();
Debug.Log($"Current Project uid:{tmp_CurrentProjectUid}");
}