Beispiel #1
0
 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>();
         }
     }
 }
Beispiel #3
0
 void Start()
 {
     FlowRunner.StartNew(flowRoutine());
 }