Пример #1
0
    public void LoadDescriptor()
    {
        statusText.SetStatus("Loading from descriptor. Please wait...");
        mainCanvas.interactable = false;
        //DescriptorLoaderUtility.LoadDescriptor(pathField.text, OnLoadingProcessFinished, OnLoadingProcessException);
        Thread loadingThread = new Thread(() => DescriptorLoaderUtility.LoadDescriptor(pathField.text, OnLoadingProcessFinished, OnLoadingProcessException));

        loadingThread.Start();
    }
Пример #2
0
 //Reading from Application.streamingAssetsPath.
 public void LoadTestGame()
 {
     StartCoroutine(DescriptorLoaderUtility.LoadTestDescriptor("AwesomeTestGame.zip", OnLoadingProcessFinished, OnLoadingProcessException));
 }