public void LoadAsync() { if (!_isLoading) { _isLoading = true; FlowRunner.StartNew(AsyncLoadViaDisplayerSelected()); } }
private static void ensureInstanceExists() { if (_cachedInstance == null) { _cachedInstance = FindObjectOfType <FlowRunner>(); if (_cachedInstance == null) { _cachedInstance = new GameObject("__FlowRunner").AddComponent <FlowRunner>(); } } }
void Start() { FlowRunner.StartNew(flowRoutine()); }