This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| declare module "fhir/r4" { | |
| export class DomainResource { | |
| //Get UUID from the FHIR resource | |
| //Returns undefined if no UUID is found | |
| //Returns the UUID if found | |
| getUuid(): string | undefined; | |
| setUuid(): this; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async function someFetch(url: string, options?: RequestInit) { | |
| const result =await fetch(url, options) | |
| return await result.json(); | |
| } | |
| function measureAsync<R, P extends any[]>(callback: (...args: P) => Promise<R>, measureKey: string) { | |
| return async (...args: P) => { | |
| performance.mark(`${measureKey}-start`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| public class SceneTransitioner : MonoBehaviour | |
| { | |
| public static event Action OnStartedLoading; | |
| public static event Action<float> OnProgressUpdated; | |
| public static event Action OnDone; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using TMPro; | |
| using UnityEngine; | |
| public class LoadingScript : MonoBehaviour | |
| { | |
| [SerializeField] private TMP_Text progressText; | |
| [SerializeField] private Canvas canvas; | |
| [SerializeField] private CanvasGroup canvasGroup; | |
| private float animSpeed = 0.5f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using TMPro; | |
| using UnityEngine; | |
| public class LoadingScript : MonoBehaviour | |
| { | |
| [SerializeField] private TMP_Text progressText; | |
| [SerializeField] private Canvas canvas; | |
| [SerializeField] private CanvasGroup canvasGroup; | |
| private float animSpeed = 0.5f; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| public class SceneTransitioner : MonoBehaviour | |
| { | |
| public static event Action OnStartedLoading; | |
| public static event Action<float> OnProgressUpdated; | |
| public static event Action OnDone; | |
| private static SceneTransitioner instance; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| public class SceneTransitioner : MonoBehaviour | |
| { | |
| private static SceneTransitioner instance; | |
| private void Awake() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using TMPro; | |
| using UnityEngine; | |
| public class LoadingScript : MonoBehaviour | |
| { | |
| [SerializeField] private TMP_Text progressText; | |
| [SerializeField] private Canvas canvas; | |
| [SerializeField] private CanvasGroup canvasGroup; | |
| private float animSpeed = 0.5f; | |
| } |
NewerOlder